|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.search.api.helper.ResultAccessor
org.eclipse.smila.search.api.helper.ResultBuilder
org.eclipse.smila.solr.search.SolrResultBuilder
public class SolrResultBuilder
builds the SMILA result record from the solr result objects.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.smila.search.api.helper.ResultAccessor |
|---|
_result |
| Constructor Summary | |
|---|---|
SolrResultBuilder(Record record,
QueryResponse response)
Constructor. |
|
SolrResultBuilder(java.lang.String workflowName,
Record record,
QueryResponse response)
Constructor. |
|
| Method Summary | |
|---|---|
Record |
processResponse()
Process the response result and add to query record. |
| Methods inherited from class org.eclipse.smila.search.api.helper.ResultBuilder |
|---|
addFacet, addFacetValue, addFacetValue, addResultItem, setCount, setRuntime |
| Methods inherited from class org.eclipse.smila.search.api.helper.ResultAccessor |
|---|
getCount, getFacets, 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 |
|---|
public SolrResultBuilder(Record record,
QueryResponse response)
workflowName - the workflow name.record - the query record.response - the solr query response.
public SolrResultBuilder(java.lang.String workflowName,
Record record,
QueryResponse response)
workflowName - the workflow name.record - the query record.response - the solr query response.| Method Detail |
|---|
public Record processResponse()
|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||