aboutsummaryrefslogtreecommitdiff
path: root/icing/icing-search-engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'icing/icing-search-engine.h')
-rw-r--r--icing/icing-search-engine.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/icing/icing-search-engine.h b/icing/icing-search-engine.h
index da447d5..678fc77 100644
--- a/icing/icing-search-engine.h
+++ b/icing/icing-search-engine.h
@@ -26,6 +26,7 @@
#include "icing/absl_ports/mutex.h"
#include "icing/absl_ports/thread_annotations.h"
#include "icing/file/filesystem.h"
+#include "icing/index/data-indexing-handler.h"
#include "icing/index/index.h"
#include "icing/index/numeric/numeric-index.h"
#include "icing/jni/jni-cache.h"
@@ -672,6 +673,12 @@ class IcingSearchEngine {
libtextclassifier3::StatusOr<bool> LostPreviousSchema()
ICING_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
+ // Helper method to create all types of data indexing handlers to index term,
+ // integer, and joinable qualified ids.
+ libtextclassifier3::StatusOr<
+ std::vector<std::unique_ptr<DataIndexingHandler>>>
+ CreateDataIndexingHandlers() ICING_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
+
// Helper method to discard parts of (term, integer) indices if they contain
// data for document ids greater than last_stored_document_id.
//