Cannot get wildcard search working with Sphinx Real Time indexes -


there several questions here on this, on google. however, repeated attempts , plenty of googling has not netted me answer far. doesn't seem difficult, i'm missing something.

i've added combinations of following:

enable_star = 1 dict = keywords min_infix_len = 3 min_prefix_len = 3 

note: did not prefix , infix @ same time.

i have blown away , re-created indexes, re-started searchd , still no luck.

if insert value such "wildcardtest" can following hit

select * rtindex match('wildcardtest');

but else such as

select * rtindex match('wildcardt*');

returns 0 results.

i using 2.1.4 upgraded 2.1.9 no change.

i upgraded 2.2.7 , tweaked config bit , working.

the essential config option needed dict=keywords

min_prefix_len/min_infix_len work, seem change behavior compared dict=keywords on own. searching same pattern various config options yields different results.

i did have re-build disk-based indexes , attach (after truncating) rt indexes historical content searchable way wanted.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -