开发者

Thinking Sphinx text search

开发者 https://www.devze.com 2023-02-12 02:49 出处:网络
Hi people I\'m having a problem with one search that I\'m making in one of my projects. I am new using Sphinx and the problem is when I make a search like = \"ipad\" it work perfect but when I put \"i

Hi people I'm having a problem with one search that I'm making in one of my projects. I am new using Sphinx and the problem is when I make a search like = "ipad" it work perfect but when I put "ipa" the full text s开发者_如何学Pythonearch seems no to work the way I want cause I'm not receiving anything back.

my_variable = self.search searchTxt, :match_mode => :any, :sort_mode => :extended, :order => sortType, :page => page, :per_page => perPage

Am I doing something wrong with the search?


I think there is some additional configuration necessary to search with wildcards, as explained in the documentation.

0

精彩评论

暂无评论...
验证码 换一张
取 消