Package com.flaptor.indextank.index.scorer

Examples of com.flaptor.indextank.index.scorer.Boosts


            String line = in.nextLine();
            if (line.startsWith("get ")) {
                String idStr = line.substring(4);
                DocId docId = new DocId(idStr);
                System.out.println(ims.getDocument(idStr));
                Boosts boosts = ddm.getBoosts(docId);
                System.out.println("timestamp: " + boosts.getTimestamp());
                for (int i = 0; i < bc; i++) {
                    System.out.println("var["+i+"]: " + boosts.getBoost(i));
                }
                System.out.println(ddm.getCategoryValues(docId));
            } else {
                List<String> suggestions = index.getMostPopular(line);
                for (String sugg : suggestions) {
View Full Code Here

TOP

Related Classes of com.flaptor.indextank.index.scorer.Boosts

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.