Home
last modified time | relevance | path

Searched refs:embedding_index (Results 1 – 15 of 15) sorted by relevance

/external/icing/icing/testing/
Dembedding-test-utils.cc36 GetEmbeddingHitsFromIndex(const EmbeddingIndex* embedding_index, in GetEmbeddingHitsFromIndex() argument
42 pl_accessor_or = embedding_index->GetAccessor(dimension, model_signature); in GetEmbeddingHitsFromIndex()
61 const EmbeddingIndex* embedding_index) { in GetRawEmbeddingDataFromIndex() argument
63 embedding_index->GetRawEmbeddingData(), in GetRawEmbeddingDataFromIndex()
65 return std::vector<float>(data, data + embedding_index->GetTotalVectorSize()); in GetRawEmbeddingDataFromIndex()
70 const EmbeddingIndex* embedding_index, const EmbeddingHit& hit, in GetAndRestoreQuantizedEmbeddingVectorFromIndex() argument
74 embedding_index->GetQuantizedEmbeddingVector(hit, dimension)); in GetAndRestoreQuantizedEmbeddingVectorFromIndex()
Dembedding-test-utils.h49 GetEmbeddingHitsFromIndex(const EmbeddingIndex* embedding_index,
53 const EmbeddingIndex* embedding_index);
59 const EmbeddingIndex* embedding_index, const EmbeddingHit& hit,
/external/icing/icing/index/embed/
Dembedding-index_test.cc185 std::unique_ptr<EmbeddingIndex> embedding_index, in TEST_F()
190 ICING_ASSERT_OK(embedding_index->BufferEmbedding( in TEST_F()
193 ICING_ASSERT_OK(embedding_index->CommitBufferToIndex()); in TEST_F()
194 embedding_index->set_last_added_document_id(0); in TEST_F()
197 GetEmbeddingHitsFromIndex(embedding_index.get(), /*dimension=*/3, in TEST_F()
201 EXPECT_THAT(GetRawEmbeddingDataFromIndex(embedding_index.get()), in TEST_F()
203 EXPECT_EQ(embedding_index->last_added_document_id(), 0); in TEST_F()
205 ICING_EXPECT_OK(embedding_index->GetChecksum()); in TEST_F()
213 embedding_index.reset(); in TEST_F()
222 std::unique_ptr<EmbeddingIndex> embedding_index, in TEST_F()
[all …]
Ddoc-hit-info-iterator-embedding.cc49 const EmbeddingIndex* embedding_index, const DocumentStore* document_store, in Create() argument
52 ICING_RETURN_ERROR_IF_NULL(embedding_index); in Create()
58 pl_accessor_or = embedding_index->GetAccessorForVector(*query); in Create()
77 score_high, get_embedding_match_info, info_map, embedding_index, in Create()
Ddoc-hit-info-iterator-embedding.h66 const EmbeddingIndex* embedding_index,
100 const EmbeddingIndex* embedding_index, in DocHitInfoIteratorEmbedding() argument
111 embedding_index_(*embedding_index), in DocHitInfoIteratorEmbedding()
/external/icing/icing/index/
Dembedding-indexing-handler.h43 Create(const Clock* clock, EmbeddingIndex* embedding_index,
66 EmbeddingIndex* embedding_index, in EmbeddingIndexingHandler() argument
69 embedding_index_(*embedding_index), in EmbeddingIndexingHandler()
Dembedding-indexing-handler.cc36 EmbeddingIndex* embedding_index, in Create() argument
39 ICING_RETURN_ERROR_IF_NULL(embedding_index); in Create()
42 clock, embedding_index, enable_embedding_index)); in Create()
/external/icing/icing/query/
Dquery-processor.cc60 const EmbeddingIndex* embedding_index, in Create() argument
69 ICING_RETURN_ERROR_IF_NULL(embedding_index); in Create()
78 index, numeric_index, embedding_index, language_segmenter, normalizer, in Create()
85 const EmbeddingIndex* embedding_index, in QueryProcessor() argument
92 embedding_index_(*embedding_index), in QueryProcessor()
Dsuggestion-processor.h52 const EmbeddingIndex* embedding_index,
70 const EmbeddingIndex* embedding_index,
Dsuggestion-processor.cc56 const EmbeddingIndex* embedding_index, in Create() argument
64 ICING_RETURN_ERROR_IF_NULL(embedding_index); in Create()
73 index, numeric_index, embedding_index, language_segmenter, normalizer, in Create()
346 const EmbeddingIndex* embedding_index, in SuggestionProcessor() argument
352 embedding_index_(*embedding_index), in SuggestionProcessor()
Dquery-processor.h53 const EmbeddingIndex* embedding_index,
82 const EmbeddingIndex* embedding_index,
Dquery-processor_benchmark.cc179 auto embedding_index, in BM_QueryOneTerm()
198 index.get(), numeric_index.get(), embedding_index.get(), in BM_QueryOneTerm()
318 auto embedding_index, in BM_QueryFiveTerms()
351 index.get(), numeric_index.get(), embedding_index.get(), in BM_QueryFiveTerms()
475 auto embedding_index, in BM_QueryDiacriticTerm()
497 index.get(), numeric_index.get(), embedding_index.get(), in BM_QueryDiacriticTerm()
617 auto embedding_index, in BM_QueryHiragana()
639 index.get(), numeric_index.get(), embedding_index.get(), in BM_QueryHiragana()
/external/icing/icing/query/advanced_query_parser/
Dquery-visitor.h58 const EmbeddingIndex* embedding_index, in QueryVisitor() argument
66 : QueryVisitor(index, numeric_index, embedding_index, document_store, in QueryVisitor()
117 const EmbeddingIndex* embedding_index, in QueryVisitor() argument
129 embedding_index_(*embedding_index), in QueryVisitor()
/external/icing/icing/scoring/advanced_scoring/
Dscore-expression.cc772 uint32_t embedding_index, in Create()
775 if (embedding_query_results->GetMatchInfoMap(embedding_index, in Create()
778 "The embedding query index ", std::to_string(embedding_index), in Create()
/external/icing/icing/
Dicing-search-engine_initialization_test.cc6134 std::unique_ptr<EmbeddingIndex> embedding_index, in TEST_P()
6154 EmbeddingIndexingHandler::Create(&fake_clock, embedding_index.get(), in TEST_P()