S
S
ShadowMoon2014-03-21 12:12:22
Sphinx
ShadowMoon, 2014-03-21 12:12:22

Sphinx indexing error

Good afternoon, during indexing, the sphinx swears:

WARNING: index Info1: wordforms file /usr/local/main/index/dicts/ru_utf8.dict is shared with index TitleIndex, but tokenizer settings are different; IGNORING wordforms
ERROR: index 'Info1': xmlpipe: expected '', got 'Class config not found'.

The index and source configuration file itself:
source InfoSource : MainSource
{
  type = xmlpipe2
  xmlpipe_command = /usr/bin/php  /usr/local/main/index/indexer/indexer.php 0 6000000
}

index Info1
{
  charset_table = 0..9, A..Z->a..z, _, a..z, U+410..U+42F->U+430..U+44F, U+430..U+44F, U+401->U+435, U+451->U+435
    morphology            = stem_ru
    min_stemming_len      = 2
    exceptions = /usr/local/main/index/dicts/exceptions.dict
    charset_type          = utf-8
    wordforms = /usr/local/main/index/dicts/ru_utf8.dict
    stopwords = /usr/local/main/index/dicts/stopwords.dict
    enable_star           = 1
    min_prefix_len        = 2
    min_word_len 	  = 2
    source		  = InfoSource
    path		  = /usr/local/main/base/Info/info
    prefix_fields         = header, body
}

I understood WARNING, but I can’t understand ERROR, I was looking for an answer on the net, but I didn’t find it. If anyone has experience please share, thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
ShadowMoon, 2014-03-21
@ShadowMoon

All solved the issue, it turned out that indexer.php simply could not find the modules it needed in the config, corrected the paths and it all worked!

R
Rpsl, 2014-03-21
@Rpsl

Apparently xml curve comes.
Show output:

/usr/bin/php  /usr/local/main/index/indexer/indexer.php 0 6000000

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question