search fix to new architecture3
This commit is contained in:
@@ -23,7 +23,7 @@ pub const F_DATA_NGRAM: &str = "data_ngram";
|
||||
pub const F_DATA_EXACT: &str = "data_exact";
|
||||
pub const JOURNAL_TABLE_NAME: &str = "general_ledger";
|
||||
pub const ARCHIVED_ROW_KEY_PREFIX: &str = "__archive__:";
|
||||
pub const SEARCH_INDEX_FORMAT_DIRECTORY: &str = "v3";
|
||||
pub const SEARCH_INDEX_FORMAT_DIRECTORY: &str = "v4";
|
||||
|
||||
/// Root for the current on-disk index format. The format component prevents
|
||||
/// an executable with new projection semantics from opening old documents.
|
||||
@@ -134,7 +134,7 @@ pub fn create_search_schema() -> Schema {
|
||||
schema_builder.add_u64_field(F_IS_ARCHIVED, INDEXED | STORED | FAST);
|
||||
schema_builder.add_u64_field(F_TABLE_DEFINITION_ID, STORED | FAST);
|
||||
schema_builder.add_u64_field(F_VERSION_NUMBER, STORED | FAST);
|
||||
schema_builder.add_text_field(F_TABLE_NAME, STRING | STORED);
|
||||
schema_builder.add_text_field(F_TABLE_NAME, STRING | STORED | FAST);
|
||||
schema_builder.add_text_field(F_ROW_KEY, STRING | STORED);
|
||||
schema_builder.add_text_field(F_ALL_TEXT, text_options(TOK_WORD));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user