## the 64 bit hash of the org.apache.solr.update.processor.Lookup3Signature of title, used to compute title_unique_b
#title_exact_signature_l
## flag shows if title is unique in the whole index; if yes and another document appears with same title, the unique-flag is set to false, boolean
#title_unique_b
@ -123,6 +126,9 @@ author
## content of description-tag, text
description
## the 64 bit hash of the org.apache.solr.update.processor.Lookup3Signature of description, used to compute description_unique_b
#description_exact_signature_l
## flag shows if description is unique in the whole index; if yes and another document appears with same description, the unique-flag is set to false, boolean
if(this.fulltext.getDefaultConnector().existsByQuery(CollectionSchema.host_id_s+":\""+hostid+"\" AND "+signaturefield.getSolrFieldName()+":\""+checkhash.toString()+"\"")){
// switch attribute also in all existing documents (which should be exactly only one!)
SolrDocumentListdocs=this.fulltext.getDefaultConnector().query(checkfield.getSolrFieldName()+":" +checkstring + " AND " +uniquefield.getSolrFieldName()+":true",0,1000);
SolrDocumentListdocs=this.fulltext.getDefaultConnector().query(CollectionSchema.host_id_s+":\""+hostid+"\" AND "+signaturefield.getSolrFieldName()+":\"" +checkhash.toString()+"\" AND " +uniquefield.getSolrFieldName()+":true",0,1000);
@ -36,6 +36,7 @@ public enum CollectionSchema implements SchemaDeclaration {
last_modified(SolrType.date,true,true,false,false,false,"last-modified from http header"),
content_type(SolrType.string,true,true,true,false,false,"mime-type of document"),
title(SolrType.text_general,true,true,true,false,true,"content of title tag"),
title_exact_signature_l(SolrType.num_long,true,true,false,false,false,"the 64 bit hash of the org.apache.solr.update.processor.Lookup3Signature of title, used to compute title_unique_b"),
title_unique_b(SolrType.bool,true,true,false,false,false,"flag shows if title is unique in the whole index; if yes and another document appears with same title, the unique-flag is set to false"),
host_id_s(SolrType.string,true,true,false,false,false,"id of the host, a 6-byte hash that is part of the document id"),// String hosthash();
md5_s(SolrType.string,true,true,false,false,false,"the md5 of the raw source"),// String md5();
@ -74,6 +75,7 @@ public enum CollectionSchema implements SchemaDeclaration {
author(SolrType.text_general,true,true,false,false,true,"content of author-tag"),
author_sxt(SolrType.string,true,true,true,false,false,"content of author-tag as copy-field from author. This is used for facet generation"),
description(SolrType.text_general,true,true,false,false,true,"content of description-tag"),
description_exact_signature_l(SolrType.num_long,true,true,false,false,false,"the 64 bit hash of the org.apache.solr.update.processor.Lookup3Signature of description, used to compute description_unique_b"),
description_unique_b(SolrType.bool,true,true,false,false,false,"flag shows if description is unique in the whole index; if yes and another document appears with same description, the unique-flag is set to false"),
keywords(SolrType.text_general,true,true,false,false,true,"content of keywords tag; words are separated by space"),