> How does one issue span queries in > SOLR (Span, SpanNear, etc)? I've > done a bit of research and it seems that these are not > supported. It > would seem that I need to implement a QueryParserPlugin to > accomplish > this. Is this the correct path? Surely this has been done > before. Does > anybody have links to examples? I had trouble finding > anything.
You can vote and continue working on this https://issues.apache.org/jira/browse/SOLR-839 There a few QueryParsers in Lucene that utilizes span queries. ComplexPharseQueryParser, SurroundQueryParser, XMLQueryParser. http://www.lucidimagination.com/blog/2009/02/22/exploring-query-parsers/