You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "mkhludnev (via GitHub)" <gi...@apache.org> on 2025/09/12 19:40:50 UTC

Re: [I] Nested Span Queries are buggy [LUCENE-7398] [lucene]

mkhludnev commented on issue #8451:
URL: https://github.com/apache/lucene/issues/8451#issuecomment-3286604901

   > Mayya Sharipova ([@mayya-sharipova](https://github.com/mayya-sharipova)) ([migrated from JIRA](https://issues.apache.org/jira/browse/LUCENE-7398?focusedCommentId=17544438&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17544438))
   > 
   > We are still experiencing this issue with Lucene 9.x:
   > 
   > In our case the query
   > 
   > `(spanNear([body:the, spanOr([body:domain, spanNear([body:domain, body:name, body:system], 0, true)]), body:is], 0, true) in 1)`
   > 
   > matches the doc: "the domain is", but doesn't match the doc "the domain name system is"
   
   thanks for the case @mayya-sharipova! I've added reproducer [here](https://github.com/mkhludnev/solr-flexible-qparser/blob/860e17c16153b1d3ef337f099b0d9f572620e9b1/src/test/java/org/apache/solr/flexibleqp/TestCompeteWithSpans.java#L49) proving that Intervals might handle this case where nested Spans are failing. I hope I've got this right. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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