Mercurial Hosting > luan
changeset 1482:4c409291090f
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 24 Apr 2020 21:20:42 -0600 |
parents | 3cff066f3bbc |
children | 97740900c820 |
files | src/luan/modules/lucene/Lucene.luan src/luan/modules/lucene/LuceneIndex.java |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/luan/modules/lucene/Lucene.luan Fri Apr 24 15:57:30 2020 -0600 +++ b/src/luan/modules/lucene/Lucene.luan Fri Apr 24 21:20:42 2020 -0600 @@ -26,7 +26,7 @@ Lucene.type = { english = LuceneIndex.ENGLISH_FIELD_PARSER string = LuceneIndex.STRING_FIELD_PARSER - lowercase = LuceneIndex.LOWERCASE_FIELD_PARSER +-- lowercase = LuceneIndex.LOWERCASE_FIELD_PARSER integer = NumberFieldParser.INT long = NumberFieldParser.LONG double = NumberFieldParser.DOUBLE
--- a/src/luan/modules/lucene/LuceneIndex.java Fri Apr 24 15:57:30 2020 -0600 +++ b/src/luan/modules/lucene/LuceneIndex.java Fri Apr 24 21:20:42 2020 -0600 @@ -115,7 +115,7 @@ private static final Version luceneVersion = Version.LUCENE_4_9; private static final String FLD_NEXT_ID = "nextId"; public static final StringFieldParser STRING_FIELD_PARSER = new StringFieldParser(new KeywordAnalyzer()); - public static final StringFieldParser LOWERCASE_FIELD_PARSER = new StringFieldParser(new LowercaseAnalyzer(luceneVersion)); +// public static final StringFieldParser LOWERCASE_FIELD_PARSER = new StringFieldParser(new LowercaseAnalyzer(luceneVersion)); public static final StringFieldParser ENGLISH_FIELD_PARSER = new StringFieldParser(new EnglishAnalyzer(luceneVersion)); private final Object version;