V
V
Vladimir Shishmintsev2017-04-18 12:49:14
Sphinx
Vladimir Shishmintsev, 2017-04-18 12:49:14

How to make a request in Sphinx?

Good afternoon.
I'm using the old version of Sphinx 2.0.7-id64-release (r3759).
Query example:
("Кошки любят молоко" | "Кошки любят")
I want to achieve this behavior from the sphinx:
1. If results are found for "Cats love milk", then do not search for "Cats love" 2. If there are
no results for the query "Cats love milk", then search for "Cats love"
to implement means of a sphinx and the main thing how?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dimonchik, 2017-04-18
@dimonchik2013

sphinxsearch.com/docs/current/sphinxql-multi-queri...
+ UDF look

P
Puma Thailand, 2017-04-20
@opium

unlikely, do it yourself on the side of the application, it is done in half a kick
, besides, when searching for Cats love milk, it will find expressions Cats love, so you invented something idiotic

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question