Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

bump to LUCENE_32

  • Loading branch information...
commit 36ec57b04e28295cad882da7bc1aada62d53d8cc 1 parent 3447000
@rnewson authored
View
5 src/main/java/com/github/rnewson/couchdb/lucene/CustomQueryParser.java
@@ -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);
}
View
2  src/main/java/com/github/rnewson/couchdb/lucene/util/Constants.java
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.