accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Newton (Created) (JIRA)" <>
Subject [jira] [Created] (ACCUMULO-447) BooleanLogicIterator cannot handle ORs correctly
Date Tue, 06 Mar 2012 17:36:58 GMT
BooleanLogicIterator cannot handle ORs correctly

                 Key: ACCUMULO-447
             Project: Accumulo
          Issue Type: Bug
          Components: wikisearch
            Reporter: Eric Newton
            Assignee: Eric Newton
             Fix For: 1.4.0

When an OR clause in a query tree has negations in that subtree and does not have a document
which matches the query, the BooleanLogicIterator cannot ascertain whether that subtree has
more results to search or whether the subtree is exhausted.

eg. if we search for 
(field1 == 'a' && field2 != 'a') || (field2 == 'a' && field1 != 'a')
 and say DOC1 has both field1 and field2 equal to 'a', BooleanLogicIterator cannot determine
whether it needs to call next() to find more reults ore whether to set its own topKey to null
and quit. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message