zeusfsx
(Саша Коровій)
December 16, 2019, 12:40pm
1
I work with a monitoring system and have a lot of queries on Sphinx.
I need to translate Sphinx queries into elasticsearch, because we will upgrade our db on elasticsearch.
For example i have query on sphinx: (Donald NEAR/3 Trump +Ukraine)| ((John NEAR/2 Biden) NEAR/5 Burisma)
Does anyone know how to parse the sphinx query and translate it to elasticsearch?
Hello, Alexander.
NEAR/num
is a slop in a phase https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query-phrase.html
Usually clauses are combined with "bool"
. Low level positional queries are spans
and intervals
.
zeusfsx
(Саша Коровій)
December 19, 2019, 6:11pm
3
Can you give me some examples, for those queries?
system
(system)
Closed
January 16, 2020, 6:11pm
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.