|
What this is
Other links
The source codepackage org.apache.lucene.index; import java.io.IOException; import java.util.*; /** */ class SegmentTermVector implements TermFreqVector { private String field; private String terms[]; private int termFreqs[]; SegmentTermVector(String field, String terms[], int termFreqs[]) { this.field = field; this.terms = terms; this.termFreqs = termFreqs; } /** * * @return The number of the field this vector is associated with */ public String getField() { return field; } public String toString() { StringBuffer sb = new StringBuffer(); sb.append('{'); sb.append(field).append(": "); for (int i=0; i |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.