Package org.terrier.matching

Examples of org.terrier.matching.CollectionResultSet


   
    plm = new PostingListManager(index, super.collectionStatistics, queryTerms);
    if (MATCH_EMPTY_QUERY && plm.size() == 0)
    {
      // Check whether we need to match an empty query. If so, then return the existing result set.
      resultSet = new CollectionResultSet(collectionStatistics.getNumberOfDocuments());
      resultSet.setExactResultSize(collectionStatistics.getNumberOfDocuments());
      resultSet.setResultSize(collectionStatistics.getNumberOfDocuments());
      return resultSet;
    }
    //DO NOT prepare the posting lists for TAAT retrieval
View Full Code Here


    final long starttime = System.currentTimeMillis();
    initialise(queryTerms);
    // Check whether we need to match an empty query. If so, then return the existing result set.
    // String[] queryTermStrings = queryTerms.getTerms();
    if (MATCH_EMPTY_QUERY && queryTermsToMatchList.size() == 0) {
      resultSet = new CollectionResultSet(collectionStatistics.getNumberOfDocuments());
      resultSet.setExactResultSize(collectionStatistics.getNumberOfDocuments());
      resultSet.setResultSize(collectionStatistics.getNumberOfDocuments());
      return resultSet;
    }
           
View Full Code Here

TOP

Related Classes of org.terrier.matching.CollectionResultSet

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.