lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhenyuan wei <tins...@gmail.com>
Subject Is that a mistake or bug?
Date Mon, 03 Sep 2018 02:57:18 GMT
Hi all,
    I saw the code like following:

QueryResult result = new QueryResult();

cmd.setSegmentTerminateEarly(params.getBool(CommonParams.SEGMENT_TERMINATE_EARLY,
CommonParams.SEGMENT_TERMINATE_EARLY_DEFAULT));
if (cmd.getSegmentTerminateEarly()) {
  result.setSegmentTerminatedEarly(Boolean.FALSE);
}

It says if request's param segmentTerminateEarly=true, which means search
maybe terminated early within a segment,  then set
result.setSegmentTerminatedEarly as false , this code is of a little confusion
.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message