Package org.compass.core

Examples of org.compass.core.CompassTermFreqsBuilder.normalize()


        }

        public Object doInCompass(CompassSession session) throws CompassException {
            CompassTermFreqsBuilder builder = session.termFreqsBuilder(termFreqsArgs.getProperties());
            if (termFreqsArgs.getNormalizeRange() != null) {
                builder.normalize(termFreqsArgs.getNormalizeRange().getFromInt(), termFreqsArgs.getNormalizeRange().getToInt());
            }
            if (termFreqsArgs.getSize() != null) {
                builder.setSize(termFreqsArgs.getSize().intValue());
            }
            if (termFreqsArgs.getSort() != null) {
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.