Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

add defaultOperator example to example schema.xml

Erik Hatcherae014f4319eb
diff --git a/example/solr/conf/schema.xml b/example/solr/conf/schema.xml
index aea24fa264b..0ce1c8798c2 100755
--- a/example/solr/conf/schema.xml
+++ b/example/solr/conf/schema.xml
@@ -206,6 +206,11 @@
<!-- field for the QueryParser to use when an explicit fieldname is absent -->
<defaultSearchField>text</defaultSearchField>
+ <!-- SolrQueryParser configuration:
+ defaultOperator="AND|OR"
+ -->
+ <solrQueryParser defaultOperator="OR"/>
+
<!-- copyField commands copy one field to another at the time a document
is added to the index. It's used either to index the same field different
ways, or to add multiple fields to the same field for easier/faster searching. -->