Sophie

Sophie

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

libsphinxclient-0.9.9-1.fc13.x86_64.rpm

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

package org.sphx.api;

import java.util.*;

/**
 * Matched document information, as in search result.
 */
public class SphinxMatch
{
	/** Matched document ID. */
	public long		docId;

	/** Matched document weight. */
	public int			weight;

	/** Matched document attribute values. */
	public ArrayList	attrValues;


	/** Trivial constructor. */
	public SphinxMatch ( long docId, int weight )
	{
		this.docId = docId;
		this.weight = weight;
		this.attrValues = new ArrayList();
	}
}

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