summaryrefslogtreecommitdiff
path: root/external/clucene/patches/clucene-asan.patch
blob: 51adfad4aea7177f83f37e18ca196dc56dad6607 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- src/core/CLucene/index/IndexWriter.cpp
+++ src/core/CLucene/index/IndexWriter.cpp
@@ -53,7 +53,6 @@
 
 DEFINE_MUTEX(IndexWriter::MESSAGE_ID_LOCK)
 int32_t IndexWriter::MESSAGE_ID = 0;
-const int32_t IndexWriter::MAX_TERM_LENGTH = DocumentsWriter::MAX_TERM_LENGTH;
 
 class IndexWriter::Internal{
 public:
--- src/core/CLucene/index/IndexWriter.h
+++ src/core/CLucene/index/IndexWriter.h
@@ -384,13 +384,6 @@
    */
   static const int32_t DEFAULT_MAX_MERGE_DOCS;
 
-  /**
-   * Absolute hard maximum length for a term.  If a term
-   * arrives from the analyzer longer than this length, it
-   * is skipped and a message is printed to infoStream, if
-   * set (see {@link #setInfoStream}).
-   */
-  static const int32_t MAX_TERM_LENGTH;
 
 
   /* Determines how often segment indices are merged by addDocument().  With