1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00

Special: Broadcast events to one specific tab, not all tabs with same name

This commit is contained in:
gnosygnu
2017-03-19 03:08:57 -04:00
parent 67548465fc
commit cc8c120982
15 changed files with 59 additions and 17 deletions

View File

@@ -67,10 +67,10 @@ public class Gflucene_indexer_mgr {
// create field for body
this.body_fld_type = new FieldType();
body_fld_type.setIndexOptions(IndexOptions.DOCS_AND_FREQS_AND_POSITIONS);
IndexOptions index_options = idx_data.positional_enabled ? IndexOptions.DOCS_AND_FREQS_AND_POSITIONS : IndexOptions.DOCS_AND_FREQS;
body_fld_type.setIndexOptions(index_options);
body_fld_type.setTokenized(true);
body_fld_type.setStored(false);
// body_fld.setIndexOptions(IndexOptions.DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS);
// body_fld.setStoreTermVectors(true);
// body_fld.setStoreTermVectorOffsets(true);
}