Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

allow facets and text fields to be multi-valued

Erik Hatcherc7d72e0e5ac3
diff --git a/client/ruby/solrb/solr/solr/conf/schema.xml b/client/ruby/solrb/solr/solr/conf/schema.xml
index 9ebe4d3f12f..0dbdcbbc469 100755
--- a/client/ruby/solrb/solr/solr/conf/schema.xml
+++ b/client/ruby/solrb/solr/solr/conf/schema.xml
@@ -210,8 +210,8 @@
EXAMPLE: name="*_i" will match any field ending in _i (like myid_i, z_i)
Longer patterns will be matched first. if equal size patterns
both match, the first appearing in the schema will be used. -->
- <dynamicField name="*_facet" type="string" indexed="true" stored="true"/>
- <dynamicField name="*_text" type="text" indexed="true" stored="true"/>
+ <dynamicField name="*_facet" type="string" indexed="true" stored="true" multiValued="true"/>
+ <dynamicField name="*_text" type="text" indexed="true" stored="true" multiValued="true"/>
</fields>
<!-- field to use to determine and enforce document uniqueness. -->