M
M
Marat Dolotov2019-11-21 16:49:39
Sphinx
Marat Dolotov, 2019-11-21 16:49:39

Sphinx for text search only?

They write that sphinx is designed for text search.
And if there are other fields with integer values ​​in the table and you need to search for all of them, then what to do: search by text value separately from sphinx and by integer from the database, the results will be different, then how to find the difference and remove the extra ones and leave the necessary ones - this is complete idiocy!? In general, tell me how such tasks are actually performed?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
stilic, 2019-11-21
@stilic

Any database for storage and retrieval.
Sphinx is no exception.
Let's say I use it to filter data.
The tokens in this case are the values ​​of the vectors.
But the advantage of Sphinx is when combining a huge number of answers.

X
xmoonlight, 2019-11-21
@xmoonlight

In general, tell me how such tasks are actually performed?
"Waterfall slope": first we search by the most unique values ​​(numbers, articles, models), then - by all the rest.

P
Puma Thailand, 2019-11-22
@opium

There are faceted searches for attributes of any type

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question