Sphinx killlist query -


i don't know why killlist not working ?

my sphinx.conf looks that:

source main {     type            = mysql      sql_host        = localhost     sql_user        = root     sql_pass        =     sql_db          = sphinx      sql_port        = 3306  # optional, default 3306     sql_query_pre = set names utf8     sql_query_pre = replace sph_counter select 1, max(id) documents     sql_query       = \         select id, group_id, unix_timestamp(date_added) date_added, title, content \         documents \         id<=( select max_doc_id sph_counter counter_id=1 )      sql_attr_uint       = group_id     sql_field_string        = title     sql_attr_timestamp  = date_added      sql_query_info      = select * documents id=$id }  source delta : main {     sql_query_pre = set names utf8     sql_query = select id, group_id, unix_timestamp(date_added) date_added, title, content \         documents \         id>( select max_doc_id sph_counter counter_id=1 )      sql_query_killlist = \     select id documents date_added>=@last_reindex union \     select id documents_deleted deleted_ts>=@last_reindex }  index main {     source = main     path = c:/sphinx/data/main     # ... other settings  }  # note how other settings copied main, # source , path overridden (they must be) index delta : main {     source = delta     path = c:/sphinx/data/delta  } 

when update 1 item in database date_added changed , content still old result after delta index refreshed ??


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -