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)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@950853 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris M. Hostetter 2010-06-03 01:46:44 +00:00
parent 510e9b1563
commit 428d4b1633
1 changed files with 0 additions and 6 deletions

View File

@ -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;