

WARNING: dict=crc deprecated, use dict=keywords instead
Expand keywords tree helpndoc software#
usr/bin/indexer -config nf expand -rotateĬopyright (c) 2001-2016, Andrew AksyonoffĬopyright (c) 2008-2016, Sphinx Technologies Inc ()Ĭopyright (c) 2017, Manticore Software LTD () Transformed_tree OR(\n AND(KEYWORD(str, querypos=1)), \n AND(KEYWORD(str*, querypos=1))) usr/bin/indexer -config nf expandĮcho "set profiling=1 select * from expand where match('str') limit 0 show plan " | mysql -protocol=tcp -P9906 (SELECT 1 as id, 'str' as text) UNION (SELECT 2 as id, 'strtre' as text) Using a dynamic config file, expand_keywords as an index setting is lost after multiple -rotate based rotations

Sadly indextool -dumpconfig nor -dumpheader seem to report expand_keywords so can’t see if it is or isnt written to the. … but then the index will rebuild via cron, and its turned off again. WHen I said ‘sometimes’, ti will even sometimes work on on the tags index sphinxQL>set profiling=1 select * from tags where match('str') limit 0 show plan In fact expand_keywords = 1 has been in the config for months, and the index is rebuilt every 2 hours via cron anyway. Haven’t actully restarted, just reloaded. Path = /var/lib/manticore/data/tes | path = /var/lib/manticore/data/tagĮxpand_keywords = 1 | expand_keywords = star > sql_attr_multi = uint user_id from field > WHERE (t.tag_id>=$start AND t.tag_id AND t.prefix != 'type' \ > FROM tag t INNER JOIN tag_stat USING (tag_id) (SELECT 1 as id, 'str' as text) UNION (SELECT | SELECT tag_id,prefix,tag,`count` AS images, ' > sql_query_range = SELECT MIN(tag_id),MAX(tag_ Source srctest2 : db_master | source srctags : db_slave Note I CAN enable it at query time, but want it for every query on this particular index sphinxQL>select * from tags where match('str') limit 0 option expand_keywords=1 show plan ĭiff /etc/sphinxsearch/sphinx.d/nf /etc/sphinxsearch/sphinx.d/nf -y If copy the config to test index, get expansion by default sphinxQL>select * from test2 where match('str') limit 0 show plan … yet the expand_keywords = 1 on the index.

| transformed_tree | AND(KEYWORD(str, querypos=1)) | SphinxQL>select * from tags where match('str') limit 0 show plan not reported as a bug yet, as can’t create a reproducible test case. SOMETIMES the expand_keywords=1 in index, is ignored. I have an odd issue on a Manticore 2.6.2 server.
