Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
5.3.1
Description
When the attribute 'onePassDistributedQuery' is 'true',QueryCompoent will not send a ShardRequest to retrive field values, highlight values has been return by shards in createMainQuery together.
See code below:
private void handleRegularResponses(ResponseBuilder rb, ShardRequest sreq) {
if ((sreq.purpose & ShardRequest.PURPOSE_GET_TOP_IDS) != 0)
if ((sreq.purpose & ShardRequest.PURPOSE_GET_TERM_STATS) != 0)
{ updateStats(rb, sreq); }if ((sreq.purpose & ShardRequest.PURPOSE_GET_FIELDS) != 0)
{ //where ResponseBuilder.onePassDistributedQuery is true,highlight values was retrived at same time,but not truncated by 'start' and 'rows',just return top N(N=start+rows), returnFields(rb, sreq); }}
Attachments
Attachments
Issue Links
- duplicates
-
SOLR-8060 NPE distributed HighlightComponent
- Closed