You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Tommaso Teofili (JIRA)" <ji...@apache.org> on 2017/02/17 14:13:41 UTC
[jira] [Created] (OAK-5705) Negative cost calculation for native
Solr query
Tommaso Teofili created OAK-5705:
------------------------------------
Summary: 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.6.0
Reporter: Tommaso Teofili
Assignee: Tommaso Teofili
Fix For: 1.7.0
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)