跨度查询在SOLR中 [英] Span Queries in SOLR

查看:110
本文介绍了跨度查询在SOLR中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一个问题在SOLR(Span,SpanNear等)中如何跨度查询?我有
做了一些研究,我不能说明一个简单的方法来做到这一点。

看来我需要实现一个QueryParserPlugin来完成
我想要做的事情。这是正确的道路吗?这当然是以前做过的。
是否有人有链接到例子?我已经很难找到什么


解决方案

目前不支持跨度查询(的 JIRA问题这里)。



此邮件线程,看来你是通过实现QueryParserPlugin正确的道路上。



如果你实现这一点,考虑提交一个补丁!


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.

解决方案

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!

这篇关于跨度查询在SOLR中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆