Package org.xbib.elasticsearch.skywalker.stats

Examples of org.xbib.elasticsearch.skywalker.stats.TermStats


            try {
                BytesRef term = termsEnum.next();
                if (term != null) {
                    BytesRef text = new BytesRef();
                    text.copyBytes(term);
                    TermStats ts = new TermStats();
                    ts.field(field).text(text).docFreq(termsEnum.docFreq());
                    tiq.insertWithOverflow(ts);
                } else {
                    break;
                }
            } catch (IOException e) {
View Full Code Here

TOP

Related Classes of org.xbib.elasticsearch.skywalker.stats.TermStats

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.