Permalink
Browse files

bump to LUCENE_32

  • Loading branch information...
1 parent 3447000 commit 36ec57b04e28295cad882da7bc1aada62d53d8cc Robert Newson committed Jun 11, 2011
@@ -126,10 +126,11 @@ protected Query getRangeQuery(final String field, final String lower, final Stri
}
@Override
- protected Query getFieldQuery(final String field, final String queryText) throws ParseException {
+ protected Query getFieldQuery(final String field, final String queryText, final boolean quoted)
+ throws ParseException {
final TypedField typedField = new TypedField(field);
if (typedField.getType() == FieldType.STRING) {
- return super.getFieldQuery(field, queryText);
+ return super.getFieldQuery(field, queryText, quoted);
}
return typedField.toTermQuery(queryText);
}
@@ -22,7 +22,7 @@
public final class Constants {
- public static final Version VERSION = Version.LUCENE_30;
+ public static final Version VERSION = Version.LUCENE_32;
public static final Analyzer ANALYZER = new StandardAnalyzer(VERSION);

0 comments on commit 36ec57b

Please sign in to comment.