Sphinx 2.0.2 Filtering sql_attr_string Attributes

前端 未结 1 364
星月不相逢
星月不相逢 2021-01-25 21:40

Firstly, let me say that I know that http://sphinxsearch.com/docs/current.html#conf-sql-attr-string says \"strings can only be used for storage and retrieval\" and that \"They c

相关标签:
1条回答
  • 2021-01-25 21:50

    As I stated in my last comment, you could try defining a field (http://sphinxsearch.com/docs/current.html#conf-sql-field-string).

    You could do a WHERE MATCH((@mail_street_name '*box*'))

    And according to the documentation, you are still able to sort on it also

    0 讨论(0)
提交回复
热议问题