changeset 1532:060ff7695317

Lucene.type.lowercase
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 02 Aug 2020 17:01:25 -0600
parents fa39e3c356ae
children 28f06ac6ce39
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
diff -r fa39e3c356ae -r 060ff7695317 src/luan/modules/lucene/Lucene.luan
--- a/src/luan/modules/lucene/Lucene.luan	Sun Aug 02 16:44:38 2020 -0600
+++ b/src/luan/modules/lucene/Lucene.luan	Sun Aug 02 17:01:25 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
diff -r fa39e3c356ae -r 060ff7695317 src/luan/modules/lucene/LuceneIndex.java
--- a/src/luan/modules/lucene/LuceneIndex.java	Sun Aug 02 16:44:38 2020 -0600
+++ b/src/luan/modules/lucene/LuceneIndex.java	Sun Aug 02 17:01:25 2020 -0600
@@ -119,7 +119,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;