Searched refs:searchSpec (Results 1 – 3 of 3) sorted by relevance
34 SearchSpec searchSpec = new SearchSpec.Builder().addFilterSchemas("testSchemaType").build(); in testBuildSearchSpecWithoutTermMatch() local35 assertThat(searchSpec.getTermMatch()).isEqualTo(SearchSpec.TERM_MATCH_PREFIX); in testBuildSearchSpecWithoutTermMatch()42 SearchSpec searchSpec = in testBuildSearchSpec() local65 assertThat(searchSpec.getTermMatch()).isEqualTo(SearchSpec.TERM_MATCH_PREFIX); in testBuildSearchSpec()66 assertThat(searchSpec.getFilterNamespaces()) in testBuildSearchSpec()69 assertThat(searchSpec.getFilterSchemas()) in testBuildSearchSpec()72 assertThat(searchSpec.getFilterPackageNames()) in testBuildSearchSpec()75 assertThat(searchSpec.getSnippetCount()).isEqualTo(5); in testBuildSearchSpec()76 assertThat(searchSpec.getSnippetCountPerProperty()).isEqualTo(10); in testBuildSearchSpec()77 assertThat(searchSpec.getMaxSnippetSize()).isEqualTo(15); in testBuildSearchSpec()[all …]
80 final SearchSpec searchSpec = in globalSearch() local85 mGlobalSearchSessionShim.search(queryExpression, searchSpec); in globalSearch()
503 SearchSpec searchSpec = new SearchSpec.Builder() in testReportSystemUsage() local507 try (SearchResultsShim results = mDb.search("", searchSpec)) { in testReportSystemUsage() argument