lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Sander (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (LUCENE-5331) nested SpanNearQuery with repeating groups does not find match
Date Tue, 22 Apr 2014 13:14:17 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-5331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13976729#comment-13976729
] 

Michael Sander edited comment on LUCENE-5331 at 4/22/14 1:13 PM:
-----------------------------------------------------------------

I've run into what I think is the same problem. 

It makes it much more difficult to craft queries such as:
{{foo within/20 (biz buz)}}
In my case, the above query returns more hits than the following:
{{(foo within/20 biz) AND (foo within/20 buz)}}
I would expect the first query to return fewer results than the second.

Note: I'm using Lucene through ElasticSearch, posting is here: https://groups.google.com/forum/#!topic/elasticsearch/H2-bKVd1Ju0


was (Author: speedplane):
I've run into this problem too, but using Lucene through ElasticSearch, posting is here: https://groups.google.com/forum/#!topic/elasticsearch/H2-bKVd1Ju0

It makes it much more difficult to craft queries such as:
    foo within/20 (biz buz)
In my case, the above query returns more hits than the following:
    (foo within/20 biz) AND (foo within/20 buz)
I would expect the first query to return fewer results than the second.

> nested SpanNearQuery with repeating groups does not find match
> --------------------------------------------------------------
>
>                 Key: LUCENE-5331
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5331
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Jerry Zhou
>         Attachments: NestedSpanNearTest.java
>
>
> Nested spanNear queries do not work in some cases when repeating groups are in the query.
> Test case is attached ...



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message