Search in sources :

Example 16 with RankProfileRegistry

use of com.yahoo.searchdefinition.RankProfileRegistry in project vespa by vespa-engine.

the class AttributePropertiesTestCase method testValidAttributeProperties.

@Test
public void testValidAttributeProperties() throws IOException, ParseException {
    Search search = UnprocessingSearchBuilder.buildUnprocessedFromFile("src/test/examples/attributeproperties2.sd");
    new AttributeProperties(search, new BaseDeployLogger(), new RankProfileRegistry(), new QueryProfiles()).process(true);
}
Also used : RankProfileRegistry(com.yahoo.searchdefinition.RankProfileRegistry) BaseDeployLogger(com.yahoo.config.model.application.provider.BaseDeployLogger) Search(com.yahoo.searchdefinition.Search) QueryProfiles(com.yahoo.vespa.model.container.search.QueryProfiles) Test(org.junit.Test)

Aggregations

RankProfileRegistry (com.yahoo.searchdefinition.RankProfileRegistry)16 Test (org.junit.Test)14 Search (com.yahoo.searchdefinition.Search)13 BaseDeployLogger (com.yahoo.config.model.application.provider.BaseDeployLogger)10 QueryProfiles (com.yahoo.vespa.model.container.search.QueryProfiles)8 QueryProfileRegistry (com.yahoo.search.query.profile.QueryProfileRegistry)7 SDDocumentType (com.yahoo.searchdefinition.document.SDDocumentType)7 SDField (com.yahoo.searchdefinition.document.SDField)7 RankProfile (com.yahoo.searchdefinition.RankProfile)4 SearchBuilder (com.yahoo.searchdefinition.SearchBuilder)4 Pair (com.yahoo.collections.Pair)1 AttributeFields (com.yahoo.searchdefinition.derived.AttributeFields)1 RawRankProfile (com.yahoo.searchdefinition.derived.RawRankProfile)1