Thomas Mueller created OAK-12270:
------------------------------------

             Summary: Warning about "Fulltext query without index for filter" 
is logged by mistake
                 Key: OAK-12270
                 URL: https://issues.apache.org/jira/browse/OAK-12270
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: query
            Reporter: Thomas Mueller


A warning "Fulltext query without index for filter ..." is logged for an "or" 
query with a fulltext condition, even if the query plan that is used does use 
an index.

The warning is a false positive fired during cost estimation of the discarded 
original query.

The warning should not be logged in this case. Probably the easiest way to to 
defer logging of the warning to a later stage (eg. execute), and not do this in 
the prepare phase yet.





--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to