You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Yonghui Zhao <zh...@gmail.com> on 2016/12/05 05:12:51 UTC
query parser of SpanNearQuery
It seems lucene query parser doesn't support SpanNearQuery.
Is there any query parser supports SpanNearQuery?
Re: query parser of SpanNearQuery
Posted by Mikhail Khludnev <mk...@apache.org>.
Hello,
You can check ComplexPhrase and Surround query parsers.
On Mon, Dec 5, 2016 at 8:12 AM, Yonghui Zhao <zh...@gmail.com> wrote:
> It seems lucene query parser doesn't support SpanNearQuery.
> Is there any query parser supports SpanNearQuery?
>
--
Sincerely yours
Mikhail Khludnev
RE: query parser of SpanNearQuery
Posted by "Allison, Timothy B." <ta...@mitre.org>.
Not part of Lucene, but take a look at LUCENE-5205 [1], which I actively maintain on github [2].
And, you can integrate via maven [3]
See the jira issue for an overview of the query syntax, and let me know if you have any questions.
[1] https://issues.apache.org/jira/browse/LUCENE-5205
[2] https://github.com/tballison/lucene-addons
[3] http://search.maven.org/#artifactdetails%7Corg.tallison.lucene%7Clucene-5205%7C6.3-0.1%7Cjar
-----Original Message-----
From: Yonghui Zhao [mailto:zhaoyonghui@gmail.com]
Sent: Monday, December 5, 2016 12:13 AM
To: java-user@lucene.apache.org
Subject: query parser of SpanNearQuery
It seems lucene query parser doesn't support SpanNearQuery.
Is there any query parser supports SpanNearQuery?