Span Queries in SOLR

How to query queries in SOLR (Span, SpanNear, etc.)? I have done a bit of research, and I cannot say a simple way to do this.

It would seem that I need to implement QueryParserPlugin to execute What I want to do. Is this the right way? Surely this was done before. Does anyone have links to examples? I could not find anything.

+1
source share
1 answer

Span requests are not currently supported ( JIRA issue here ).

Judging by this mail flow , it seems that you are on the right track by implementing QueryParserPlugin.

If you do, consider sending a patch!

+2
source

Source: https://habr.com/ru/post/1308225/


All Articles