blob: d271c7b3df269be5ad96b4c69c3a868d3ec64608 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- src/core/CLucene/index/FieldsReader.cpp
+++ src/core/CLucene/index/FieldsReader.cpp
@@ -230,7 +230,7 @@
int64_t pointer = fieldsStream->getFilePointer();
//Skip ahead of where we are by the length of what is stored
fieldsStream->skipChars(length);
- f = _CLNEW LazyField(this, fi->name, Field::STORE_YES | getIndexType(fi, tokenize) | getTermVectorType(fi), length, pointer);
+ f = _CLNEW LazyField(this, fi->name, +Field::STORE_YES | getIndexType(fi, tokenize) | getTermVectorType(fi), length, pointer);
f->setOmitNorms(fi->omitNorms);
}
doc.add(*f);
|