Package com.flaptor.hounder.searcher.group

Examples of com.flaptor.hounder.searcher.group.AResultsGrouper.group()


        if (null == groupBy ) {
            grouper = (new NoGroup()).getGrouper(new TopDocsDocumentProvider(tdocs,searcher));
        } else {
            grouper = groupBy.getGrouper(new TopDocsDocumentProvider(tdocs,searcher));
        }
        return grouper.group(groupCount,groupSize,offset);
    }



View Full Code Here


            gsr = new GroupedSearchResults();
        } else {
          //done collecting results, either because we have results from all the searchers or because we timed out
          //now we generate a result vector with the top results of each set
          AResultsGrouper grouper = group.getGrouper(new GroupedSearchResultsDocumentProvider(goodResults,sort));
          gsr = grouper.group(count,groupSize,firstResult);
        }

        MultiGSR result = new MultiGSR(gsr,searchers.size());

        for (Entry<Integer, GroupedSearchResults> entry: goodResultsMap.entrySet()){
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.