I have a problem with sphinx search For example the query is 'C++'
For this query I get results that match 'C' but I need sphinx to search exact 'C++' not 'C'
I have a problem with sphinx search For example the query is 'C++'
For this query I get results that match 'C' but I need sphinx to search exact 'C++' not 'C'
Check your charset_table
,
http://sphinxsearch.com/docs/current.html#conf-charset-table
Suspect you dont have + in your charset_table
, so it isnt been indexed.
Or if you just want to deal with specific cases (like c++
) and not all cases of that char (like 1+2
), then look at adding an exception for c++
http://sphinxsearch.com/docs/current.html#conf-exceptions
(its even in the example!)