| Package | Description |
|---|---|
| org.gcube.search.datafusion.datatypes | |
| org.gcube.search.datafusion.helpers |
| Modifier and Type | Method and Description |
|---|---|
static List<RankedRecord> |
RankedRecord.recalculateScores(Map<String,Long> recPositions,
Map<String,Pair> recScores,
Boolean includePosition)
Recalculates the score of the records that are retrieved after querying the lucene index in order to
perform some other refinements.
|
| Modifier and Type | Method and Description |
|---|---|
static Float |
RankedRecord.calcScore(RankedRecord r)
Calculates the score of the record.
|
int |
RankedRecord.compareTo(RankedRecord r) |
| Modifier and Type | Method and Description |
|---|---|
static List<gr.uoa.di.madgik.grs.record.GenericRecord> |
IndexHelper.multiget(List<RankedRecord> recs,
org.apache.lucene.store.Directory index,
Set<String> fieldsName)
Performs a multiget on the lucene index from the given list of
RankedRecords |
static URI |
ResultSetHelper.multiGetAndWrite(List<RankedRecord> recs,
org.apache.lucene.store.Directory index,
Set<String> fields)
Gets the actual records from the rec and at the same time is writing them in a gRS2 result set.
|
static URI |
ResultSetHelper.multiGetAndWriteNoStream(List<RankedRecord> recs,
org.apache.lucene.store.Directory index,
Set<String> fields)
Gets the actual records from the rec and then writes them in a gRS2 result set.
|
Copyright © 2016. All Rights Reserved.