public class IndexFuseOp extends Object
org.gcube.searchservice.searchlibrary.resultset.ResultSet,
that represent results produced from full text index lookup operations on a set of collections, and produces an output
org.gcube.searchservice.searchlibrary.resultset.ResultSet holding the joined results. For each collection the input
comes from metadata and content collections that correspond to that collection. The output contains 0 or 1 result
for each OID of the input collections.| Modifier and Type | Field and Description |
|---|---|
static String |
CollectionFieldNameDef
The default name of the
Field the collection will be stored to |
static String |
ObjectIdFieldNameDef
The default name of the
Field the object id will be stored to |
static String |
RankFieldNameDef
The default name of the
Field the rank will be stored to |
| Constructor and Description |
|---|
IndexFuseOp(URI[] contentLocators,
URI[][] metaLocators,
String[] colIDs,
StatsContainer stats)
Creates a new
IndexFuseOp with the default field names and the default timeout |
IndexFuseOp(URI[] contentLocators,
URI[][] metaLocators,
String[] colIDs,
String objectIdFieldName,
String collectionFieldName,
String rankFieldName,
long timeout,
TimeUnit timeUnit,
StatsContainer stats)
Creates a new
IndexFuseOp with configurable field names and timeout |
IndexFuseOp(URI[] contentLocators,
URI[][] metaLocators,
String[] colIDs,
String objectIdFieldName,
String collectionFieldName,
String rankFieldName,
StatsContainer stats)
Creates a new
IndexFuseOp with configurable field names and the default timeout |
public static String ObjectIdFieldNameDef
Field the object id will be stored topublic static String CollectionFieldNameDef
Field the collection will be stored topublic static String RankFieldNameDef
Field the rank will be stored topublic IndexFuseOp(URI[] contentLocators, URI[][] metaLocators, String[] colIDs, StatsContainer stats) throws Exception
IndexFuseOp with the default field names and the default timeoutcontentLocators - The content collection inputs org.gcube.searchservice.searchlibrary.resultset.ResultSetmetaLocators - The metadata collection inputs org.gcube.searchservice.searchlibrary.resultset.ResultSetcolIDs - stats - statisticsExceptionpublic IndexFuseOp(URI[] contentLocators, URI[][] metaLocators, String[] colIDs, String objectIdFieldName, String collectionFieldName, String rankFieldName, StatsContainer stats) throws Exception
IndexFuseOp with configurable field names and the default timeoutcontentLocators - The content collection inputs org.gcube.searchservice.searchlibrary.resultset.ResultSetmetaLocators - The metadata collection inputs org.gcube.searchservice.searchlibrary.resultset.ResultSetcolIDs - objectIdFieldName - The name of the Field the object id will be stored tocollectionFieldName - The name of the Field the collection will be stored torankFieldName - The name of the Field the rank will be stored tostats - statisticsExceptionpublic IndexFuseOp(URI[] contentLocators, URI[][] metaLocators, String[] colIDs, String objectIdFieldName, String collectionFieldName, String rankFieldName, long timeout, TimeUnit timeUnit, StatsContainer stats) throws Exception
IndexFuseOp with configurable field names and timeoutcontentLocators - The content collection inputs org.gcube.searchservice.searchlibrary.resultset.ResultSetmetaLocators - The metadata collection inputs org.gcube.searchservice.searchlibrary.resultset.ResultSetcolIDs - objectIdFieldName - The name of the Field the object id will be stored tocollectionFieldName - The name of the Field the collection will be stored torankFieldName - The name of the Field the rank will be stored totimeout - The timeout that will be used by all IRecordReaders and the IRecordWritertimeUnit - The time unit of the timeoutstats - statisticsExceptionCopyright © 2017. All Rights Reserved.