C D E F G H I L M N O P Q R S T 

C

calcScore(RankedRecord) - Static method in class org.gcube.search.datafusion.datatypes.RankedRecord
Calculates the score of the record.
compareTo(RankedRecord) - Method in class org.gcube.search.datafusion.datatypes.RankedRecord
 

D

DataFusion - Class in org.gcube.search.datafusion
 
DataFusion(URI[], String) - Constructor for class org.gcube.search.datafusion.DataFusion
Instantiates data fusion for the records in the locators and the given query
DataFusion(URI[], String, Integer) - Constructor for class org.gcube.search.datafusion.DataFusion
Instantiates data fusion for the records in the locators and the given query and returns up to the count records

E

equals(Object) - Method in class org.gcube.search.datafusion.datatypes.RankedRecord
 

F

feedLucene(Directory, Iterator<PositionalRecordWrapper>, List<String>, Set<String>, int) - Static method in class org.gcube.search.datafusion.helpers.IndexHelper
Feeds the lucene index with (maximum count) records that are retrieved from the iter.

G

getFieldIDFromName(String) - Method in class org.gcube.search.datafusion.RRadaptor
 
getFieldIDsFromName(String) - Method in class org.gcube.search.datafusion.RRadaptor
 
getFieldNameById(String) - Method in class org.gcube.search.datafusion.RRadaptor
 
getLuceneDocID() - Method in class org.gcube.search.datafusion.datatypes.Pair
 
getLuceneDocID() - Method in class org.gcube.search.datafusion.datatypes.RankedRecord
 
getPosition() - Method in class org.gcube.search.datafusion.datatypes.PositionalRecordWrapper
 
getQueryFieldContent(GenericRecord, String) - Static method in class org.gcube.search.datafusion.helpers.RecordHelper
Gets the payload of the snippetField from the rec.
getQuerySnippetFields(GenericRecord, List<String>) - Static method in class org.gcube.search.datafusion.helpers.RecordHelper
Gets the payload from either the snippetFields or from the actual payload.
getRank(GenericRecord) - Static method in class org.gcube.search.datafusion.helpers.RecordHelper
Get the score field from the rec
getRec() - Method in class org.gcube.search.datafusion.datatypes.PositionalRecordWrapper
 
getRecordContentFromObjID(GenericRecord) - Static method in class org.gcube.search.datafusion.helpers.RecordHelper
Getis the actual content of the rec.
getRecordID(GenericRecord) - Static method in class org.gcube.search.datafusion.helpers.RecordHelper
Gets the record id from the record.
getRSRecFields(GenericRecord) - Static method in class org.gcube.search.datafusion.helpers.ResultSetHelper
Gets the names of the fields for the given record
getScore() - Method in class org.gcube.search.datafusion.datatypes.Pair
 
getSnippetPayload(GenericRecord, String) - Static method in class org.gcube.search.datafusion.helpers.RecordHelper
Gets the payload of the snippetField from the rec

H

hashCode() - Method in class org.gcube.search.datafusion.datatypes.RankedRecord
 
hasNext() - Method in class org.gcube.search.datafusion.datatypes.RSFusedIterator
 

I

ID_FIELD - Static variable in class org.gcube.search.datafusion.helpers.RecordHelper
 
IndexHelper - Class in org.gcube.search.datafusion.helpers
 
IndexHelper() - Constructor for class org.gcube.search.datafusion.helpers.IndexHelper
 
initializeAdapter() - Static method in class org.gcube.search.datafusion.RRadaptor
 
initializeGRS2(String) - Static method in class org.gcube.search.datafusion.helpers.ResultSetHelper
Initializes the gRS2 for writing
initializeIndex() - Static method in class org.gcube.search.datafusion.helpers.IndexHelper
 
initializeIndexWriter(Directory) - Static method in class org.gcube.search.datafusion.helpers.IndexHelper
 

L

locatorsToItersList(URI[]) - Static method in class org.gcube.search.datafusion.datatypes.RSFusedIterator
Converts an array on locators into a list of iterators over those locators
locatorToIterator(URI) - Static method in class org.gcube.search.datafusion.datatypes.RSFusedIterator
 
luceneToRSRecord(Document, Set<String>, Float) - Static method in class org.gcube.search.datafusion.helpers.RecordHelper
Gets a GenericRecord from a lucene Document.

M

multiget(List<RankedRecord>, Directory, Set<String>) - Static method in class org.gcube.search.datafusion.helpers.IndexHelper
Performs a multiget on the lucene index from the given list of RankedRecords
multiGetAndWrite(List<RankedRecord>, Directory, Set<String>) - Static method in class org.gcube.search.datafusion.helpers.ResultSetHelper
Gets the actual records from the rec and at the same time is writing them in a gRS2 result set.
multiGetAndWriteNoStream(List<RankedRecord>, Directory, Set<String>) - Static method in class org.gcube.search.datafusion.helpers.ResultSetHelper
Gets the actual records from the rec and then writes them in a gRS2 result set.

N

next() - Method in class org.gcube.search.datafusion.datatypes.RSFusedIterator
 

O

objid - Static variable in class org.gcube.search.datafusion.helpers.RecordHelper
 
operate() - Method in class org.gcube.search.datafusion.DataFusion
 
org.gcube.search.datafusion - package org.gcube.search.datafusion
 
org.gcube.search.datafusion.datatypes - package org.gcube.search.datafusion.datatypes
 
org.gcube.search.datafusion.helpers - package org.gcube.search.datafusion.helpers
 

P

Pair - Class in org.gcube.search.datafusion.datatypes
 
Pair(Float, Integer) - Constructor for class org.gcube.search.datafusion.datatypes.Pair
 
PositionalRecordWrapper - Class in org.gcube.search.datafusion.datatypes
 
PositionalRecordWrapper(long, GenericRecord) - Constructor for class org.gcube.search.datafusion.datatypes.PositionalRecordWrapper
 
printRecords(List<GenericRecord>, Set<String>) - Static method in class org.gcube.search.datafusion.helpers.ResultSetHelper
 

Q

QUERY_FIELD - Static variable in class org.gcube.search.datafusion.helpers.RecordHelper
 

R

rankDocuments(Directory, String, int) - Static method in class org.gcube.search.datafusion.helpers.IndexHelper
 
rankDocuments(Directory, String, int, int) - Static method in class org.gcube.search.datafusion.helpers.IndexHelper
Performs the query on the index and returns a map with key the id of the record and value a pair of score and lucene id (different from record id) Obviously, the returned result is not sorted but it requires sorting on the score
RankedRecord - Class in org.gcube.search.datafusion.datatypes
 
RankedRecord(String, Long, Float, Integer, Boolean) - Constructor for class org.gcube.search.datafusion.datatypes.RankedRecord
 
RankedRecord(String, Long, Float, Integer) - Constructor for class org.gcube.search.datafusion.datatypes.RankedRecord
 
recalculateScores(Map<String, Long>, Map<String, Pair>, Boolean) - Static method in class org.gcube.search.datafusion.datatypes.RankedRecord
Recalculates the score of the records that are retrieved after querying the lucene index in order to perform some other refinements.
RecordHelper - Class in org.gcube.search.datafusion.helpers
 
RecordHelper() - Constructor for class org.gcube.search.datafusion.helpers.RecordHelper
 
remove() - Method in class org.gcube.search.datafusion.datatypes.RSFusedIterator
 
rerank() - Method in class org.gcube.search.datafusion.DataFusion
rerankRecords(Iterator<PositionalRecordWrapper>, String, int, List<String>, Boolean) - Static method in class org.gcube.search.datafusion.DataFusion
Takes an iterator of PositionalRecordWrappers and puts them in a lucene index.
ResultSetHelper - Class in org.gcube.search.datafusion.helpers
 
ResultSetHelper() - Constructor for class org.gcube.search.datafusion.helpers.ResultSetHelper
 
RRadaptor - Class in org.gcube.search.datafusion
Forked from IndexCommon
RRadaptor() - Constructor for class org.gcube.search.datafusion.RRadaptor
 
RSFusedIterator - Class in org.gcube.search.datafusion.datatypes
Fuses multiple iterators into one.
RSFusedIterator(URI[]) - Constructor for class org.gcube.search.datafusion.datatypes.RSFusedIterator
 
RSFusedIterator(URI[], int) - Constructor for class org.gcube.search.datafusion.datatypes.RSFusedIterator
 
RSFusedIterator(List<Iterator<GenericRecord>>) - Constructor for class org.gcube.search.datafusion.datatypes.RSFusedIterator
 
RSFusedIterator(List<Iterator<GenericRecord>>, int) - Constructor for class org.gcube.search.datafusion.datatypes.RSFusedIterator
 
rsRecToLucene(IndexWriter, String, GenericRecord, String) - Static method in class org.gcube.search.datafusion.helpers.RecordHelper
Converts and stores a GenericRecord to lucene.

S

SCORE_FIELD - Static variable in class org.gcube.search.datafusion.helpers.RecordHelper
 

T

toString() - Method in class org.gcube.search.datafusion.datatypes.Pair
 
toString() - Method in class org.gcube.search.datafusion.datatypes.RankedRecord
 
C D E F G H I L M N O P Q R S T 

Copyright © 2016. All Rights Reserved.