Sphinx supports efficient substring searches since version 2.0.1-beta, April 22, 2011. Unfortunately, to date, this support applies only to the beta version, as mentioned here .
I tried with beta 2.1.1. It seems to be working correctly. See manual entry for dictionary type, read about keywords type.
When I tried to use version 2.0.6, it returned to the inefficient crc index, indicating the following warning when indexing:
WARNING: min_infix_len is not supported yet with dict=keywords; using dict=crc
My minimal configuration file:
source sour { type = xmlpipe2 xmlpipe_command = type C:\Temp\1\sphinx\input.xml } index inde { source = sour path = testpa enable_star = 1 dict = keywords charset_type = utf-8 min_infix_len = 1 }
source share