Skip to content

Commit

Permalink
fixed fulltext CBO vs invalid index hints
Browse files Browse the repository at this point in the history
  • Loading branch information
glookka committed Dec 14, 2023
1 parent d293174 commit e5139ba
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/sphinx.cpp
Expand Up @@ -8056,11 +8056,6 @@ bool CSphIndex_VLN::SelectIteratorsFT ( const CSphQuery & tQuery, const CSphVect
if ( !dSIInfo.any_of ( []( const auto & tInfo ){ return tInfo.m_eType==SecondaryIndexType_e::LOOKUP || tInfo.m_eType==SecondaryIndexType_e::INDEX || tInfo.m_eType==SecondaryIndexType_e::ANALYZER; } ) )
return false;

// if we are forcing this behavior, there's no point in further calculations
// and we are forcing it if we have any hints specified
if ( tQuery.m_dIndexHints.GetLength() )
return true;

CSphVector<SecondaryIndexInfo_t> dSIInfoFilters { dSIInfo.GetLength() };
float fValuesAfterFilters = 1.0f;
ARRAY_FOREACH ( i, dSIInfo )
Expand Down

0 comments on commit e5139ba

Please sign in to comment.