You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Nawab Zada Asad iqbal (JIRA)" <ji...@apache.org> on 2017/10/30 19:01:00 UTC

[jira] [Created] (SOLR-11580) With hl=true and fl=id+score, Solr tries to highligh all the results on first call

Nawab Zada Asad iqbal created SOLR-11580:
--------------------------------------------

             Summary: With hl=true and fl=id+score, Solr tries to highligh all the results on first call
                 Key: SOLR-11580
                 URL: https://issues.apache.org/jira/browse/SOLR-11580
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
    Affects Versions: 6.5
            Reporter: Nawab Zada Asad iqbal
            Priority: Minor


Normal solr behavior in distributed solr shards is to bring id and score on first request and then request full row of results and highlighted fields in the second call after sorting the results (on aggregator node). In Solr 6 or earlier a change was introduced to skip the second call if fields to return only has id and score. However, this misses one edge case when hl=true; and asks the shards to highlight all the results on the first call, which is really inefficient.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org