I am trying to check if my config has issues or I am not understanding Show Meta correctly;
If I make a regex in the config:
regexp_filter=NY=>New York
then if I do a SphinxQL search on 'NY'
Search Index where MATCH('NY')
and then Show Meta
it should show keyword1=New and keyword2=York not NY is that correct?
And if it does not then somehow my config is not working as intended?
This is correct. When you do
MATCH('NY')and haveNY=>New Yorkregexp conversion then Sphinx first convertsNYintoNew Yorkand only after that it starts searching, i.e. it forgets aboutNYcompletely. The same happens when indexing: it first prepares tokens, then indexes them forgetting about the original text.To demonstrate (this is in Manticore (fork of Sphinx), but in terms of processing
regexp_filterand how it affects searching works the same was as Sphinx):