Package net.sf.clairv.search.rank

Examples of net.sf.clairv.search.rank.ScoreDocList.sortList()


          public void onResponse(ResponseMessage response) {
            if (response instanceof KeywordQueryRespMessage) {
              ScoreDocList sdList = ((KeywordQueryRespMessage) response)
                  .getSdList();

              sdList.sortList();
              final Counter counter = new Counter(sdList.size());
              for (Iterator itr = sdList.getSdList().iterator(); itr.hasNext(); ) {
                ScoreDoc sd = (ScoreDoc) itr.next();
                String nodeId = sd.getNodeId();
                Integer docId = new Integer(sd.getDocId());
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.