dailydelta1 merge fails after sphinx 2.2 upgrade due to dict=crc, not dict=keywords
I'm seeing the following errors now that I have upgraded to sphinx 2.2:
WARNING: dict=crc deprecated, use dict=keywords instead
FATAL: failed to merge index 'dailydelta1' into index 'main1': dictionary types must be the same (dst dict=crc, src dict=keywords )
I did try to set dict=keywords on all my /etc/sphinxsearch/sphinx.conf indexes, and main1 is set for dict=keywords; but I still get the error above. Any idea what I've done wrong? Do I need to recreate main1?
Comments (7)
-
-
This is the output when I restart the sphinx searchd daemon:
root@piler:/etc/sphinxsearch# /etc/init.d/rc.searchd restart stopping searchd starting searchd . . . Sphinx 2.2.9-id64-release (rel22-r5006) Copyright (c) 2001-2015, Andrew Aksyonoff Copyright (c) 2008-2015, Sphinx Technologies Inc (http://sphinxsearch.com) using config file '/etc/sphinxsearch/sphinx.conf'... listening on 127.0.0.1:9312 listening on 127.0.0.1:9306 precaching index 'main1' WARNING: dict=crc deprecated, use dict=keywords instead precaching index 'main2' WARNING: dict=crc deprecated, use dict=keywords instead precaching index 'main3' precaching index 'main4' precaching index 'dailydelta1' precaching index 'delta1' precaching index 'tag1' precaching index 'note1' precached 8 indexes in 11.211 sec
-
Here is what main1 and main2 indexes look like from /etc/sphinxsearch/sphinx.conf
index main1 { source = main1 path = /var/piler/sphinx/main1 dict = keywords docinfo = extern min_prefix_len = 6 min_word_len = 1 } index main2 { source = main2 path = /var/piler/sphinx/main2 dict = keywords docinfo = extern min_prefix_len = 6 min_word_len = 1 }
-
repo owner I also ran into this problem. Unfortunately reverting to dict=crc is not a clean solution, since you can't merge keyword index to crc index. So you may revert to crc, then reindex the last emails. Or stick to keywords, and reset the sphinx indices, and reindex everything.
-
I don't mind re-indexing (again). Can you post a quick recipe for me to follow? I'd rather just start fresh with keywords.
Thanks, Rob
-
repo owner su - piler indexer --all --rotate cd /tmp reindex -a
-
repo owner - changed status to resolved
- Log in to comment
I was not logged in when I created this issue. I don't know how to change the creator...
-Rob