Span Queries in SOLR

旧街凉风 提交于 2019-12-11 12:29:28

问题


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.


回答1:


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!



来源:https://stackoverflow.com/questions/6957284/span-queries-in-solr

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!