@ -458,7 +458,7 @@ public final class QueryParams {
// add vocabulary facets
if(this.metatags!=null){
for(Tagging.Metatagtag:this.metatags){
fq.append(" AND ").append(CollectionSchema.VOCABULARY_PREFIX).append(tag.getVocabularyName()).append(CollectionSchema.VOCABULARY_SUFFIX).append(":\"").append(tag.getObject()).append('\"');
fq.append(" AND ").append(CollectionSchema.VOCABULARY_PREFIX).append(tag.getVocabularyName()).append(CollectionSchema.VOCABULARY_TERMS_SUFFIX).append(":\"").append(tag.getObject()).append('\"');
@ -229,12 +229,16 @@ public enum CollectionSchema implements SchemaDeclaration {
ext_tracker_txt(SolrType.text_general,true,true,true,false,false,"names of tracker server"),
ext_tracker_val(SolrType.num_integer,true,true,true,false,false,"number of attribute counts in ext_tracker_txt"),
ext_title_txt(SolrType.text_general,true,true,true,false,false,"names matching title expressions"),
ext_title_val(SolrType.num_integer,true,true,true,false,false,"number of matching title expressions");
publicfinalstaticStringCORE_NAME="collection1";// this was the default core name up to Solr 4.4.0. This default name was stored in CoreContainer.DEFAULT_DEFAULT_CORE_NAME but was removed in Solr 4.5.0
ext_title_val(SolrType.num_integer,true,true,true,false,false,"number of matching title expressions"),
vocabularies_sxt(SolrType.string,true,true,true,false,false,"collection of all vocabulary names that have a matcher in the document - use this to boost with vocabularies");
publicfinalstaticStringCORE_NAME="collection1";// this was the default core name up to Solr 4.4.0. This default name was stored in CoreContainer.DEFAULT_DEFAULT_CORE_NAME but was removed in Solr 4.5.0
publicfinalstaticStringVOCABULARY_PREFIX="vocabulary_";// collects all terms that appear for each vocabulary
publicfinalstaticStringVOCABULARY_TERMS_SUFFIX="_sxt";// suffix for the term collector that start with VOCABULARY_PREFIX - middle part is vocabulary name
publicfinalstaticStringVOCABULARY_COUNT_SUFFIX="_i";// suffix for the term counter (>=1) that start with VOCABULARY_PREFIX - middle part is vocabulary name
publicfinalstaticStringVOCABULARY_LOGCOUNT_SUFFIX="_log_i";// log2(VOCABULARY_COUNT)] -- can be used for ranking boosts based on the number of occurrences
publicfinalstaticStringVOCABULARY_LOGCOUNTS_SUFFIX="_log_val";// all integers from [0 to log2(VOCABULARY_COUNT)] -- can be used for ranking boosts based on the number of occurrences
privateStringsolrFieldName=null;// solr field name in custom solr schema, defaults to solcell schema field name (= same as this.name() )