You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by yo...@apache.org on 2013/09/04 19:44:18 UTC
svn commit: r1520081 - in
/lucene/dev/trunk/solr/example/solr/collection1/conf: schema.xml
solrconfig.xml
Author: yonik
Date: Wed Sep 4 17:44:18 2013
New Revision: 1520081
URL: http://svn.apache.org/r1520081
Log:
SOLR-5210: add block join support to example
Modified:
lucene/dev/trunk/solr/example/solr/collection1/conf/schema.xml
lucene/dev/trunk/solr/example/solr/collection1/conf/solrconfig.xml
Modified: lucene/dev/trunk/solr/example/solr/collection1/conf/schema.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/solr/collection1/conf/schema.xml?rev=1520081&r1=1520080&r2=1520081&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/solr/collection1/conf/schema.xml (original)
+++ lucene/dev/trunk/solr/example/solr/collection1/conf/schema.xml Wed Sep 4 17:44:18 2013
@@ -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"/>
Modified: lucene/dev/trunk/solr/example/solr/collection1/conf/solrconfig.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/solr/collection1/conf/solrconfig.xml?rev=1520081&r1=1520080&r2=1520081&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/solr/collection1/conf/solrconfig.xml (original)
+++ lucene/dev/trunk/solr/example/solr/collection1/conf/solrconfig.xml Wed Sep 4 17:44:18 2013
@@ -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 Cache
Cache used to hold field values that are quickly accessible