Searched refs:snippet_context (Results 1 – 6 of 6) sorted by relevance
| /external/icing/icing/result/ |
| D | result-adjustment-info_test.cc | 113 const SnippetContext snippet_context = result_adjustment_info.snippet_context; in TEST_F() local 117 result_adjustment_info.snippet_context.query_terms.find("term1") != in TEST_F() 118 result_adjustment_info.snippet_context.query_terms.end()); in TEST_F() 119 EXPECT_THAT(result_adjustment_info.snippet_context.snippet_spec, in TEST_F() 121 EXPECT_THAT(result_adjustment_info.snippet_context.match_type, in TEST_F() 143 EXPECT_THAT(result_adjustment_info.snippet_context.query_terms, IsEmpty()); in TEST_F() 145 result_adjustment_info.snippet_context.snippet_spec, in TEST_F() 147 EXPECT_THAT(result_adjustment_info.snippet_context.match_type, in TEST_F()
|
| D | result-retriever-v2.cc | 81 const SnippetContext& snippet_context = adjustment_info->snippet_context; in ApplySnippet() local 84 if (snippet_context.snippet_spec.num_matches_per_property() > 0 && in ApplySnippet() 87 snippet_context.query_terms, snippet_context.match_type, in ApplySnippet() 88 snippet_context.snippet_spec, document, section_id_mask); in ApplySnippet()
|
| D | page-result-state.h | 37 snippet_context(std::move(snippet_context_in)), in PageResultState() 49 SnippetContext snippet_context; member
|
| D | result-adjustment-info.cc | 52 : snippet_context(CreateSnippetContext(search_spec, result_spec, in ResultAdjustmentInfo() 54 remaining_num_to_snippet(snippet_context.snippet_spec.num_to_snippet()) { in ResultAdjustmentInfo()
|
| D | result-adjustment-info.h | 35 SnippetContext snippet_context; member
|
| D | result-retriever-v2_snippet_test.cc | 670 ->snippet_context.snippet_spec.set_num_matches_per_property(0); in TEST_F()
|