Author: ehatcher
Date: Mon Jul 24 06:07:12 2006
New Revision: 425036
URL: http://svn.apache.org/viewvc?rev=425036&view=rev
Log:
add defaultOperator example to example schema.xml
Modified:
incubator/solr/trunk/example/solr/conf/schema.xml
Modified: incubator/solr/trunk/example/solr/conf/schema.xml
URL:
http://svn.apache.org/viewvc/incubator/solr/trunk/example/solr/conf/schema.xml?rev=425036&r1=425035&r2=425036&view=diff
==============================================================================
--- incubator/solr/trunk/example/solr/conf/schema.xml (original)
+++ incubator/solr/trunk/example/solr/conf/schema.xml Mon Jul 24 06:07:12 2006
@@ -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. -->