lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r978899 - /lucene/dev/branches/branch_3x/solr/src/java/org/apache/solr/search/SolrQueryParser.java
Date Sat, 24 Jul 2010 16:49:25 GMT
Author: yonik
Date: Sat Jul 24 16:49:24 2010
New Revision: 978899

URL: http://svn.apache.org/viewvc?rev=978899&view=rev
Log:
LUCENE-2458: implement Uwe's suggestion for restoring Solr's default behavior

Modified:
    lucene/dev/branches/branch_3x/solr/src/java/org/apache/solr/search/SolrQueryParser.java

Modified: lucene/dev/branches/branch_3x/solr/src/java/org/apache/solr/search/SolrQueryParser.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/solr/src/java/org/apache/solr/search/SolrQueryParser.java?rev=978899&r1=978898&r2=978899&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/solr/src/java/org/apache/solr/search/SolrQueryParser.java
(original)
+++ lucene/dev/branches/branch_3x/solr/src/java/org/apache/solr/search/SolrQueryParser.java
Sat Jul 24 16:49:24 2010
@@ -81,6 +81,7 @@ public class SolrQueryParser extends Que
     this.defaultField = defaultField;
     setLowercaseExpandedTerms(false);
     setEnablePositionIncrements(true);
+    setAutoGeneratePhraseQueries(true);
     checkAllowLeadingWildcards();
   }
 
@@ -95,6 +96,7 @@ public class SolrQueryParser extends Que
     this.defaultField = defaultField;
     setLowercaseExpandedTerms(false);
     setEnablePositionIncrements(true);
+    setAutoGeneratePhraseQueries(true);    
     checkAllowLeadingWildcards();
   }
 



Mime
View raw message