sql server 2008 - sphinx indexer is not working -


i want index mssql 2008 database in windows 7. config file

source main {      type                    = mssql      sql_host                = localhost     sql_user        = sa     sql_pass        = pass         #mssql_winauth      = 1     sql_db                  = article     sql_port                = 1433  # optional, default 3306         mssql_unicode       = 1 # request unicode data server      sql_query_pre = insert indexlog(startdatetime, count, successful) select top 1 getdate(), (select count(id) article),0 article      sql_query   = select id ,row_number() over(order title) titlerowno\                 ,title,abstract \                 article     #log index end     sql_query_post_index = update indexlog set enddatetime = getdate(), successful = 1 id = (select max(id) indexlog)       sql_attr_uint = id     sql_attr_uint = titlerowno   }  index news_main {     source                  = main     path                    = c:/sphinx/article/data/news_main     docinfo                 = extern     charset_type            = utf-8       min_word_len        = 3     min_infix_len       = 3     infix_fields    = title, abstract #   min_stemming_len = 0 #   index_exact_words = 1 }    indexer {     mem_limit               = 32m }   searchd {     port                    = 6550 # 9312     log                     = c:/sphinx/article/log/searchd.log     query_log               = c:/sphinx/article/log/query.log     read_timeout            = 5     max_children            = 0 # concurrent searches run in parallel      pid_file                = c:/sphinx/article/log/searchd.pid     max_matches             = 1000     seamless_rotate         = 1     preopen_indexes         = 0     unlink_old              = 1      collation_server        = utf8_general_ci     collation_libc_locale   = utf8_general_ci } 

i use command run index.

indexer --config "c:\sphinx\a.sphinx.conf" news_main

but not work.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -