|
Carrot2 v3.5.2
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.source.SearchEngineResponse
public final class SearchEngineResponse
A single search engine response. This includes typical information returned by a search engine: documents, total number of results, time of processing the query, etc.
| Field Summary | |
|---|---|
static String |
COMPRESSION_KEY
Metadata key for the compression algorithm used to decompress the returned stream. |
HashMap<String,Object> |
metadata
All meta data returned in the response. |
ArrayList<Document> |
results
All documents returned in the response. |
static String |
RESULTS_TOTAL_KEY
Total number of results available in the source (possibly an approximation). |
| Constructor Summary | |
|---|---|
SearchEngineResponse()
|
|
| Method Summary | |
|---|---|
long |
getResultsTotal()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String RESULTS_TOTAL_KEY
public static final String COMPRESSION_KEY
public final HashMap<String,Object> metadata
public final ArrayList<Document> results
| Constructor Detail |
|---|
public SearchEngineResponse()
| Method Detail |
|---|
public long getResultsTotal()
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||