SMILA (incubation) API documentation

org.eclipse.smila.solr.search
Class SolrResultAccessor

java.lang.Object
  extended by org.eclipse.smila.search.api.helper.ResultAccessor
      extended by org.eclipse.smila.solr.search.SolrResultAccessor

public class SolrResultAccessor
extends ResultAccessor

The SolrResultAccessor.

Author:
pwissel

Field Summary
 
Fields inherited from class org.eclipse.smila.search.api.helper.ResultAccessor
_result
 
Constructor Summary
SolrResultAccessor(java.lang.String workflowName, Record result)
          Constructor.
 
Method Summary
 java.lang.Double getMaxScore()
          Get max score.
 AnyMap getSpellCheckResult()
          Get spellcheck result.
 AnyMap getTermsResult()
          Get Terms result.
 
Methods inherited from class org.eclipse.smila.search.api.helper.ResultAccessor
getCount, getGroups, getIndexSize, getNumberOfRecords, getQuery, getResult, getResultRecord, getResultRecords, getRuntime, getWorkflowName, hasQuery, hasRecords
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolrResultAccessor

public SolrResultAccessor(java.lang.String workflowName,
                          Record result)
Constructor.

Parameters:
workflowName - the workflow name.
result - the result record.
Method Detail

getMaxScore

public java.lang.Double getMaxScore()
Get max score.

Returns:
the max score or null.

getSpellCheckResult

public AnyMap getSpellCheckResult()
Get spellcheck result.

Returns:
the spellcheck result as AnyMap.

getTermsResult

public AnyMap getTermsResult()
Get Terms result.

Returns:
the Map containing the terms or null if not present.

SMILA (incubation) API documentation