Josh Harness
Josh Harness

Reputation: 477

Span Queries in SOLR

How does one issue span queries in SOLR (Span, SpanNear, etc)? I've done a bit of research and I can't tell of a straightforward way to do it.

It would seem that I need to implement a QueryParserPlugin to accomplish what I want to do. Is this the correct path? Surely this has been done before. Does anybody have links to examples? I had trouble finding anything.

Upvotes: 1

Views: 1478

Answers (1)

Mauricio Scheffer
Mauricio Scheffer

Reputation: 99740

Span queries aren't currently supported (JIRA issue here).

Judging by this mail thread, it seems that you're on the correct path by implementing a QueryParserPlugin.

If you do implement this, consider submitting a patch!

Upvotes: 2

Related Questions