jackrabbit-oak-issues mailing list archives

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

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

Mohit Kataria updated OAK-8189:
-------------------------------
    Description: 
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 and not on nt:base which leads
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

> 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
>            Priority: Major
>
> 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 and not on nt:base which
leads 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