Reputation: 1869
I keep adding to my exceptions.txt
file in m Sphinx
configuration for acornyms that contain &
e.g:
A&E => A&E
so that it is not indexed as two separate letters. However it is getting monotonous and I wonder if I can/should somehow just make '&' indexed. The questions are:
&
to indexA&E
then index as such?Upvotes: 0
Views: 63
Reputation: 21091
Add &
to charset_table
http://sphinxsearch.com/docs/current/conf-charset-table.html
should do
There is a small chance of things like 'marks&spensors' means that would only ever match that exact form (ie wouldnt match say marks & spensors as different.
Might want to consider http://sphinxsearch.com/docs/current/conf-blend-chars.html instead, so get somewhat best of both.
Upvotes: 1