|
|
@@ -46,7 +46,7 @@ public class GoodsGroupCollector extends SimpleCollector {
|
|
|
@Override
|
|
|
public void collect(int doc) throws IOException {
|
|
|
if (null != reader) {
|
|
|
- Document document = reader.document(doc);
|
|
|
+ Document document = reader.document(doc, fieldsToLoad);
|
|
|
String uniqueValue = document.get(uniqueField);
|
|
|
// 排除重复值
|
|
|
if (!StringUtils.isEmpty(uniqueValue)) {
|