You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by ho...@apache.org on 2009/10/06 19:34:02 UTC
svn commit: r822366 -
/lucene/solr/trunk/contrib/clustering/example/conf/schema.xml
Author: hossman
Date: Tue Oct 6 17:34:01 2009
New Revision: 822366
URL: http://svn.apache.org/viewvc?rev=822366&view=rev
Log:
fix clustering so it works even though new fields are getting added to docs in the main example
Modified:
lucene/solr/trunk/contrib/clustering/example/conf/schema.xml
Modified: lucene/solr/trunk/contrib/clustering/example/conf/schema.xml
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/contrib/clustering/example/conf/schema.xml?rev=822366&r1=822365&r2=822366&view=diff
==============================================================================
--- lucene/solr/trunk/contrib/clustering/example/conf/schema.xml (original)
+++ lucene/solr/trunk/contrib/clustering/example/conf/schema.xml Tue Oct 6 17:34:01 2009
@@ -333,11 +333,8 @@
<dynamicField name="random*" type="random" />
- <!-- uncomment the following to ignore any fields that don't already match an existing
- field name or dynamic field, rather than reporting them as an error.
- alternately, change the type="ignored" to some other type e.g. "text" if you want
- unknown fields indexed and/or stored by default -->
- <!--dynamicField name="*" type="ignored" /-->
+ <!-- for this example, ignore anything we aren't expecting -->
+ <dynamicField name="*" type="ignored" multiValued="true" />
</fields>
@@ -368,7 +365,7 @@
<copyField source="manu" dest="manu_exact"/>
- <copyField source="name" dest="spell"/>
+ <copyField source="name" dest="spell"/>
<!-- Similarity is the scoring routine for each document vs. a query.
A custom similarity may be specified here, but the default is fine
@@ -385,4 +382,4 @@
-->
-</schema>
\ No newline at end of file
+</schema>