Sophie

Sophie

distrib > Fedora > 13 > x86_64 > by-pkgid > 232fa0040b4339ee6824c808fad13cc6 > files > 12

libsphinxclient-0.9.9-1.fc13.x86_64.rpm

/*
 * $Id: SphinxWordInfo.java 1172 2008-02-24 13:50:48Z shodan $
 */

package org.sphx.api;

/** Per-word statistics class. */
public class SphinxWordInfo
{
	/** Word form as returned from search daemon, stemmed or otherwise postprocessed. */
	public String	word;

	/** Total amount of matching documents in collection. */
	public long		docs;

	/** Total amount of hits (occurences) in collection. */
	public long		hits;

	/** Trivial constructor. */
	public SphinxWordInfo ( String word, long docs, long hits )
	{
		this.word = word;
		this.docs = docs;
		this.hits = hits;
	}
}

/*
 * $Id: SphinxWordInfo.java 1172 2008-02-24 13:50:48Z shodan $
 */