Answer the question
In order to leave comments, you need to log in
Sphinx: similarity of non-strict queries?
The problem is this: Let's say there are two entries:
1) Bash.org humor - humor from internet users.
2) Ray William Johnson's videos: reviews of humor videos.
When I query "humour" I get 1) then 2).
When I make a request for "humour video" I only get 2).
When I make the request "humour | video", I get 1), then 2), because it's just a logical merging of the results.
But I need to make some request (not a user-side, in a delayed task, so it’s possible on a vigorous SphinxQL) of the “humor video” type, which will give me 2), then 1), i.e. results of non-strict match to keywords, but they must be sorted by relevance.
Ideally, it would still be possible to make both ordinary user search queries and such non-strict ones on one instance, i.e. so that you do not have to change the searchd and indexer configs.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question