SMILA (incubation) API documentation

org.eclipse.smila.search.utils.searchresult
Class LuceneSearchResult

java.lang.Object
  extended by org.eclipse.smila.search.utils.searchresult.LuceneSearchResult
All Implemented Interfaces:
java.io.Serializable

public class LuceneSearchResult
extends java.lang.Object
implements java.io.Serializable

Result container for Lucene results.

See Also:
Serialized Form

Constructor Summary
LuceneSearchResult()
           
 
Method Summary
 DHitDistribution getHitDistribution()
          Returns the hit distribution.
 java.lang.String getIndexName()
          Returns the name of the index that produced this result.
 java.util.List<Record> getResultList()
          Get the result list.
 void setHitDistribution(DHitDistribution distribution)
          Set the hit distribution.
 void setIndexName(java.lang.String name)
          Set the name of the index that produced this result.
 void setResultList(java.util.List<Record> list)
          Set the result list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneSearchResult

public LuceneSearchResult()
Method Detail

getIndexName

public java.lang.String getIndexName()
Returns the name of the index that produced this result.

Returns:
the name of the index that produced this result.

setIndexName

public void setIndexName(java.lang.String name)
Set the name of the index that produced this result.

Parameters:
name - the index name

getHitDistribution

public DHitDistribution getHitDistribution()
Returns the hit distribution.

Returns:
the DHitDistribution

setHitDistribution

public void setHitDistribution(DHitDistribution distribution)
Set the hit distribution.

Parameters:
distribution - the hit distribution

getResultList

public java.util.List<Record> getResultList()
Get the result list.

Returns:
the result list

setResultList

public void setResultList(java.util.List<Record> list)
Set the result list.

Parameters:
list - the result list

SMILA (incubation) API documentation