Home
last modified time | relevance | path

Searched refs:num_to_return (Results 1 – 5 of 5) sorted by relevance

/external/icing/icing/index/
Dindex.cc94 std::vector<TermMetadata> main_term_metadata_list, int num_to_return) { in MergeTermMetadatas() argument
98 static_cast<size_t>(num_to_return))); in MergeTermMetadatas()
103 while (merged_term_metadata_list.size() < num_to_return && in MergeTermMetadatas()
218 int num_to_return) { in FindLiteTermsByPrefix() argument
227 while (term_iterator.IsValid() && term_metadata_list.size() < num_to_return) { in FindLiteTermsByPrefix()
249 ICING_LOG(WARNING) << "Ran into limit of " << num_to_return in FindLiteTermsByPrefix()
260 int num_to_return) { in FindTermsByPrefix() argument
262 if (num_to_return <= 0) { in FindTermsByPrefix()
269 FindLiteTermsByPrefix(prefix, namespace_ids, num_to_return)); in FindTermsByPrefix()
274 main_index_->FindTermsByPrefix(prefix, namespace_ids, num_to_return)); in FindTermsByPrefix()
[all …]
Dindex.h194 int num_to_return);
271 int num_to_return);
/external/icing/icing/scoring/
Dranker_benchmark.cc45 int num_to_return = state.range(1); in BM_GetTopN() local
72 PopTopResultsFromHeap(&scored_document_hits_copy, num_to_return, in BM_GetTopN()
110 int num_to_return = state.range(1); in BM_PopTopResultsFromHeap() local
138 PopTopResultsFromHeap(&scored_document_hits_copy, num_to_return, in BM_PopTopResultsFromHeap()
/external/icing/icing/index/main/
Dmain-index.cc221 int num_to_return) { in FindTermsByPrefix() argument
229 while (term_iterator.IsValid() && term_metadata_list.size() < num_to_return) { in FindTermsByPrefix()
255 ICING_LOG(WARNING) << "Ran into limit of " << num_to_return in FindTermsByPrefix()
Dmain-index.h85 int num_to_return);