diff --git a/source/net/yacy/search/index/Segment.java b/source/net/yacy/search/index/Segment.java index d9a0709b2..fd068b6fd 100644 --- a/source/net/yacy/search/index/Segment.java +++ b/source/net/yacy/search/index/Segment.java @@ -420,7 +420,7 @@ public class Segment { // switch unique attribute in new document solrInputDoc.setField(uniquefield.getSolrFieldName(), false); // switch attribute also in all existing documents (which should be exactly only one!) - SolrDocumentList docs = this.fulltext.getSolr().query(checkfield.getSolrFieldName() + ":" + checkstring + " AND " + uniquefield.getSolrFieldName() + ":true", 0, 1000, YaCySchema.id.getSolrFieldName()); + SolrDocumentList docs = this.fulltext.getSolr().query(checkfield.getSolrFieldName() + ":" + checkstring + " AND " + uniquefield.getSolrFieldName() + ":true", 0, 1000); for (SolrDocument doc: docs) { SolrInputDocument sid = ClientUtils.toSolrInputDocument(doc); sid.setField(uniquefield.getSolrFieldName(), false);