1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
/*
* $Id$
*/
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$
*/
|