1
0
Fork 0
libreoffice/external/clucene/patches/clucene-asan.patch
Daniel Baumann 8e63e14cf6
Adding upstream version 4:25.2.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 16:20:04 +02:00

26 lines
824 B
Diff

--- 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