jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OAK-8189) Getting warning message in error logs while trying to search using filters
Date Wed, 03 Apr 2019 09:44:03 GMT

     [ https://issues.apache.org/jira/browse/OAK-8189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Mueller resolved OAK-8189.
---------------------------------
    Resolution: Fixed

http://svn.apache.org/r1856862 (trunk)

> Getting warning message in error logs while trying to search using filters
> --------------------------------------------------------------------------
>
>                 Key: OAK-8189
>                 URL: https://issues.apache.org/jira/browse/OAK-8189
>             Project: Jackrabbit Oak
>          Issue Type: Task
>          Components: indexing
>            Reporter: Mohit Kataria
>            Assignee: Thomas Mueller
>            Priority: Major
>             Fix For: 1.12.0
>
>         Attachments: 0001-OAK-8189-Getting-warning-message-in-error-logs-while.patch
>
>
> Log level warn is being used  at [1]. In case an index can't be used because of some
filter not supported by that index, a warning is being locked. Though is a normal scenario
as that query may have been created keeping another index in mind.
> e.g. 
>  select [jcr:path], [jcr:score], [rep:facet(jcr:content/metadata/x)], [rep:facet(jcr:content/metadata/y)]
from [z] as
>  a where isdescendantnode(a, '/content/p')
>  Lets assume we have facets configured on index definition z on properties which are
not indexed in nt:base leading to warning log. 
> [1]: [https://github.com/apache/jackrabbit-oak/blob/5deeea0055deb776fffbf268b66c4a97d096d124/oak-search/src/main/java/org/apache/jackrabbit/oak/plugins/index/search/spi/query/FulltextIndexPlanner.java#L224]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message