Apache Lucene open-source search software
SOLR-5210: add block join support to example
Yonik Seeley32803cb94fe7
diff --git a/solr/example/solr/collection1/conf/schema.xml b/solr/example/solr/collection1/conf/schema.xmlindex 75fad489f25..83fa36b25f0 100755--- a/solr/example/solr/collection1/conf/schema.xml+++ b/solr/example/solr/collection1/conf/schema.xml@@ -107,6 +107,11 @@--><field name="id" type="string" indexed="true" stored="true" required="true" multiValued="false" />++ <!-- points to the root document of a block of nested documents -->+ <field name="_root_" type="string" indexed="true" stored="false"/>++<field name="sku" type="text_en_splitting_tight" indexed="true" stored="true" omitNorms="true"/><field name="name" type="text_general" indexed="true" stored="true"/><field name="manu" type="text_general" indexed="true" stored="true" omitNorms="true"/>diff --git a/solr/example/solr/collection1/conf/solrconfig.xml b/solr/example/solr/collection1/conf/solrconfig.xmlindex 8e990752578..7b967f91d20 100755--- a/solr/example/solr/collection1/conf/solrconfig.xml+++ b/solr/example/solr/collection1/conf/solrconfig.xml@@ -514,6 +514,13 @@initialSize="512"autowarmCount="0"/>+ <!-- custom cache currently used by block join -->+ <cache name="perSegFilter"+ class="solr.search.LRUCache"+ size="10"+ initialSize="0"+ autowarmCount="10" />+<!-- Field Value CacheCache used to hold field values that are quickly accessible