modify the number of min similar docs
This commit is contained in:
parent
547796b833
commit
b345e64f81
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ public class QueryResponseList implements List<Map<String, Object>> {
|
|||
final SearchHits innerSearchHits = innerHits.get(fessConfig.getQueryCollapseInnerHitsName());
|
||||
if (innerSearchHits != null) {
|
||||
long totalHits = innerSearchHits.getTotalHits();
|
||||
if (totalHits > 0) {
|
||||
if (totalHits > 1) {
|
||||
docMap.put(fessConfig.getQueryCollapseInnerHitsName() + "_count", totalHits);
|
||||
SearchHitField bitsField = searchHit.getFields().get(fessConfig.getIndexFieldContentMinhashBits());
|
||||
if (bitsField != null && !bitsField.getValues().isEmpty()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue