lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: svn commit: r950853 - /lucene/dev/trunk/solr/src/java/org/apache/solr/search/QueryParsing.java
Date Thu, 03 Jun 2010 06:23:19 GMT
...and all MTQ's in Lucene default to constant score since 2.9

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de


> -----Original Message-----
> From: hossman@apache.org [mailto:hossman@apache.org]
> Sent: Thursday, June 03, 2010 3:47 AM
> To: commits@lucene.apache.org
> Subject: svn commit: r950853 -
> /lucene/dev/trunk/solr/src/java/org/apache/solr/search/QueryParsing.java
> 
> Author: hossman
> Date: Thu Jun  3 01:46:44 2010
> New Revision: 950853
> 
> URL: http://svn.apache.org/viewvc?rev=950853&view=rev
> Log:
> yonik removed ConstantScoreprefixQuery in r950784, but forgot to remove
> this usage of it (it was never migrated to lucene because it's trivial to build
> with a PrefixFilter)
> 
> Modified:
>     lucene/dev/trunk/solr/src/java/org/apache/solr/search/QueryParsing.java
> 
> Modified:
> lucene/dev/trunk/solr/src/java/org/apache/solr/search/QueryParsing.java
> URL:
> http://svn.apache.org/viewvc/lucene/dev/trunk/solr/src/java/org/apache/s
> olr/search/QueryParsing.java?rev=950853&r1=950852&r2=950853&view=diff
> ==========================================================
> ====================
> ---
> lucene/dev/trunk/solr/src/java/org/apache/solr/search/QueryParsing.java
> (original)
> +++
> lucene/dev/trunk/solr/src/java/org/apache/solr/search/QueryParsing.java
> Thu Jun  3 01:46:44 2010
> @@ -539,12 +539,6 @@ public class QueryParsing {
>        FieldType ft = writeFieldName(prefix.field(), schema, out, flags);
>        out.append(prefix.text());
>        out.append('*');
> -    } else if (query instanceof ConstantScorePrefixQuery) {
> -      ConstantScorePrefixQuery q = (ConstantScorePrefixQuery) query;
> -      Term prefix = q.getPrefix();
> -      FieldType ft = writeFieldName(prefix.field(), schema, out, flags);
> -      out.append(prefix.text());
> -      out.append('*');
>      } else if (query instanceof WildcardQuery) {
>        out.append(query.toString());
>        writeBoost = false;
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message