From 412be26e9a6fbc187868feca3c3241e3e81d101b Mon Sep 17 00:00:00 2001 From: Tor Brede Vekterli Date: Fri, 24 Mar 2017 14:45:54 +0000 Subject: Add dense and sparse dot product support for imported attributes Uses AttributeContent to fetch values from target attribute. Value types are always treated as 64 bits due to AttributeContent API restrictions. Remove explicit AttributeManager use in feature test fixtures to avoid dependencies on anything but IAttributeVector. --- searchlib/src/tests/features/prod_features_attributematch.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'searchlib/src/tests/features/prod_features_attributematch.cpp') diff --git a/searchlib/src/tests/features/prod_features_attributematch.cpp b/searchlib/src/tests/features/prod_features_attributematch.cpp index fc69061b4ef..7ccfd1dea1a 100644 --- a/searchlib/src/tests/features/prod_features_attributematch.cpp +++ b/searchlib/src/tests/features/prod_features_attributematch.cpp @@ -283,8 +283,8 @@ Test::testAttributeMatch() AttributePtr wint = AttributeFactory::createAttribute("wint", AVC(AVBT::INT32, AVCT::WSET)); aint->addReservedDoc(); wint->addReservedDoc(); - ft.getIndexEnv().getAttributeManager().add(aint); - ft.getIndexEnv().getAttributeManager().add(wint); + ft.getIndexEnv().getAttributeMap().add(aint); + ft.getIndexEnv().getAttributeMap().add(wint); aint->addDocs(1); aint->commit(); ASSERT_TRUE(aint->getValueCount(0) == 0); -- cgit v1.2.3