Translate query from Sphinx to Elasticsearch

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
Usually clauses are combined with "bool". Low level positional queries are spans and intervals.

Can you give me some examples, for those queries?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.