src/java/org/apache/cassandra/db/index/SecondaryIndexManager.java
/**
     * Performs a search across a number of column indexes
     * TODO: add support for querying across index types
     * 
     * @param clause the index query clause
     * @param range the row range to restrict to
     * @param dataFilter the column range to restrict to
     * @return found indexed rows
     */
Performs a search across a number of column indexes
TODO: add support for querying across index types

@param clause the index query clause
@param range the row range to restrict to
@param dataFilter the column range to restrict to
@return found indexed rows
Performs a search across a number of column indexes TODO : add support for querying across index types @param clause the index query clause @param range the row range to restrict to @param dataFilter the column range to restrict to @return found indexed rows
public List<Row> search(List<IndexExpression> clause, AbstractBounds<RowPosition> range, int maxResults, IFilter dataFilter, boolean maxIsColumns)
    {
        List<SecondaryIndexSearcher> indexSearchers = getIndexSearchersForQuery(clause);
        if (indexSearchers.isEmpty())
            return Collections.emptyList();
        if (indexSearchers.size() > 1)
            throw new RuntimeException("Unable to search across multiple secondary index types");
        return indexSearchers.get(0).search(clause, range, maxResults, dataFilter, maxIsColumns);
    }
public List < Row > search ( List < IndexExpression > clause , AbstractBounds < RowPosition > range , int maxResults , IFilter dataFilter , boolean maxIsColumns ) { List < SecondaryIndexSearcher > indexSearchers = getIndexSearchersForQuery ( clause ) ; if ( indexSearchers . isEmpty ( ) ) return Collections . emptyList ( ) ; if ( indexSearchers . size ( ) > 1 ) throw new RuntimeException ( "Unable to search across multiple secondary index types" ) ; return indexSearchers . get ( 0 ) . search ( clause , range , maxResults , dataFilter , maxIsColumns ) ; }
Performs a search across a number of column indexes
 TODO: add support for querying across index types
Performs a search across a number of column indexes TODO : add support for querying across index types
//We currently don't support searching across multiple index types