OyvindLGjesdal commented on PR #2121:
URL: https://github.com/apache/jena/pull/2121#issuecomment-1863504422

   same bug applies also for usingSearchFor, see debug output for lucene on 
second test that is now added:
   
   before fix
   
   ````
   YIELDS: +(ftext_en-01:red comment:booze ftext_en-02:red comment:booze 
ftext_en-01:red comment:booze ftext_en-02:red comment:booze ftext_en-01:red 
comment:booze ftext_en-02:red comment:booze ftext_en-01:red comment:booze 
ftext_en-02:red comment:booze note_en-01:red comment:booze note_en-02:red 
comment:booze)
   
   parsed query: +(ftext_en-01:red comment:booze ftext_en-02:red comment:booze 
ftext_en-01:red comment:booze ftext_en-02:red comment:booze ftext_en-01:red 
comment:booze ftext_en-02:red comment:booze ftext_en-01:red comment:booze 
ftext_en-02:red comment:booze note_en-01:red comment:booze note_en-02:red 
comment:booze) +graph:urn:x-arq:DefaultGraphNode; limit: 10000
   
   ```
   after fix:
   
   ```
   YIELDS: +((note_en-01:red note_en-01:booze) (note_en-02:red 
note_en-02:booze)) +graph:urn:x-arq:DefaultGraphNode; parsed query: 
+((ftext_en-01:red ftext_en-01:booze) (ftext_en-02:red ftext_en-02:booze) 
(ftext_en-01:red ftext_en-01:booze) (ftext_en-02:red ftext_en-02:booze) 
(ftext_en-01:red ftext_en-01:booze) (ftext_en-02:red ftext_en-02:booze) 
(ftext_en-01:red ftext_en-01:booze) (ftext_en-02:red ftext_en-02:booze) 
(note_en-01:red note_en-01:booze) (note_en-02:red note_en-02:booze)) 
+graph:urn:x-arq:DefaultGraphNode; limit: 10000
   
   parsed query: +((ftext_en-01:red ftext_en-01:booze) (ftext_en-02:red 
ftext_en-02:booze) (ftext_en-01:red ftext_en-01:booze) (ftext_en-02:red 
ftext_en-02:booze) (ftext_en-01:red ftext_en-01:booze) (ftext_en-02:red 
ftext_en-02:booze) (ftext_en-01:red ftext_en-01:booze) (ftext_en-02:red 
ftext_en-02:booze) (note_en-01:red note_en-01:booze) (note_en-02:red 
note_en-02:booze))
   
   ```
   The issue with possible duplicate expressions is there, but I don't think 
that changes the correctness?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to