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
.

Reply via email to