jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davide Giannella (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-5739) Misleading traversal warning for spellcheck queries without index
Date Tue, 04 Jun 2019 15:35:10 GMT

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

Davide Giannella updated OAK-5739:
----------------------------------
    Fix Version/s: 1.16.0

> Misleading traversal warning for spellcheck queries without index
> -----------------------------------------------------------------
>
>                 Key: OAK-5739
>                 URL: https://issues.apache.org/jira/browse/OAK-5739
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: query
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Major
>             Fix For: 1.14.0, 1.16.0
>
>
> In OAK-4313 we avoid traversal for native queries, but we see in some cases traversal
warnings as follows:
> {noformat}
> org.apache.jackrabbit.oak.query.QueryImpl query plan 
> [nt:base] as [a] /* traverse "" where (spellcheck([a], 'NothingToFind')) 
> and (issamenode([a], [/])) */
> org.apache.jackrabbit.oak.query.QueryImpl Traversal query (query without index): 
> select [jcr:path], [jcr:score], [rep:spellcheck()] from [nt:base] as a where spellcheck('NothingToFind')

> and issamenode(a, '/') 
> /* xpath: /jcr:root
> [rep:spellcheck('NothingToFind')]/(rep:spellcheck()) */; 
> consider creating an index
> {noformat}
> This warning is misleading. If no index is available, then either the query should fail,
or the warning should say that the query result is not correct because traversal is used.



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

Mime
View raw message