[
https://issues.apache.org/jira/browse/OAK-5705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Davide Giannella closed OAK-5705.
---------------------------------
bulk close 1.4.15
> Negative cost calculation for native Solr query
> -----------------------------------------------
>
> Key: OAK-5705
> URL: https://issues.apache.org/jira/browse/OAK-5705
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: solr
> Affects Versions: 1.4.13
> Reporter: Tommaso Teofili
> Assignee: Tommaso Teofili
> Fix For: 1.4.15, 1.7.0, 1.8, 1.6.2
>
>
> It seems sometimes the cost for the Solr index can become negative.
> This has been observed specifically with native queries, as witnessed by log
> lines like
> {noformat}
> org.apache.jackrabbit.oak.query.QueryImpl cost below 0 for
> solr[/oak:index/solrIndex] is -2.7670116110564326E18
> {noformat}
> A sample query causing this :
> {noformat}
> select * from [nt:base] where native('solr','select?q=searchKeywords:"foo"^20
> text:"foo"^1 searchExcerpt:"foo"^8 subheadline:"foo"^3 headline:"foo"^5
> searchHeadline:"foo"^10 &q.op=OR'
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)