Mercurial Hosting > luan
comparison src/luan/modules/lucene/LuceneIndex.java @ 1482:4c409291090f
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 24 Apr 2020 21:20:42 -0600 |
parents | 13cbce740e1e |
children | efbc3720d3f3 |
comparison
equal
deleted
inserted
replaced
1481:3cff066f3bbc | 1482:4c409291090f |
---|---|
113 } | 113 } |
114 | 114 |
115 private static final Version luceneVersion = Version.LUCENE_4_9; | 115 private static final Version luceneVersion = Version.LUCENE_4_9; |
116 private static final String FLD_NEXT_ID = "nextId"; | 116 private static final String FLD_NEXT_ID = "nextId"; |
117 public static final StringFieldParser STRING_FIELD_PARSER = new StringFieldParser(new KeywordAnalyzer()); | 117 public static final StringFieldParser STRING_FIELD_PARSER = new StringFieldParser(new KeywordAnalyzer()); |
118 public static final StringFieldParser LOWERCASE_FIELD_PARSER = new StringFieldParser(new LowercaseAnalyzer(luceneVersion)); | 118 // public static final StringFieldParser LOWERCASE_FIELD_PARSER = new StringFieldParser(new LowercaseAnalyzer(luceneVersion)); |
119 public static final StringFieldParser ENGLISH_FIELD_PARSER = new StringFieldParser(new EnglishAnalyzer(luceneVersion)); | 119 public static final StringFieldParser ENGLISH_FIELD_PARSER = new StringFieldParser(new EnglishAnalyzer(luceneVersion)); |
120 | 120 |
121 private final Object version; | 121 private final Object version; |
122 | 122 |
123 private final ReentrantLock writeLock = new ReentrantLock(); | 123 private final ReentrantLock writeLock = new ReentrantLock(); |