Package de.julielab.genemapper.disambig
Class ContextItemRecordsIndex
- java.lang.Object
-
- de.julielab.genemapper.disambig.ContextItemRecordsIndex
-
- All Implemented Interfaces:
SemanticIndex
public class ContextItemRecordsIndex extends Object implements SemanticIndex
Deprecated.in favor ofContextItemsIndex
-
-
Field Summary
Fields Modifier and Type Field Description org.apache.lucene.search.IndexSearchersearcherDeprecated.
-
Constructor Summary
Constructors Constructor Description ContextItemRecordsIndex(Configuration configuration)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Collection<String>getContextItems(ContextItemsCacheKey key)Deprecated.Collection<String>getContextItems(String geneId, String field)Deprecated.Map<String,org.apache.commons.lang3.tuple.Pair<Double,String>>getContextItemScores(Collection<String> ids, org.apache.lucene.search.BooleanQuery contextQuery, String semanticItemFieldName, boolean returnContextItemValue)Deprecated.org.apache.lucene.search.IndexSearchergetContextItemsSearcher()Deprecated.Map<String,org.apache.commons.lang3.tuple.Pair<Double,String>>getIntraTaxAmbiguousContextItemScores(de.julielab.geneexpbase.candidateretrieval.SynHit synHit, org.apache.lucene.search.BooleanQuery contextQuery, String semanticItemFieldName, boolean returnContextItemValue)Deprecated.Map<String,Float>getSynonymGeneRifScoresForTaxIds(de.julielab.geneexpbase.candidateretrieval.SynHit synHit, Set<String> taxonomyIds)Deprecated.
-
-
-
Constructor Detail
-
ContextItemRecordsIndex
public ContextItemRecordsIndex(Configuration configuration) throws GeneMapperException
Deprecated.- Throws:
GeneMapperException
-
-
Method Detail
-
getContextItems
public Collection<String> getContextItems(ContextItemsCacheKey key) throws ExecutionException
Deprecated.- Throws:
ExecutionException
-
getContextItems
public Collection<String> getContextItems(String geneId, String field) throws ExecutionException
Deprecated.- Throws:
ExecutionException
-
getSynonymGeneRifScoresForTaxIds
public Map<String,Float> getSynonymGeneRifScoresForTaxIds(de.julielab.geneexpbase.candidateretrieval.SynHit synHit, Set<String> taxonomyIds) throws IOException
Deprecated.- Parameters:
synHit-- Returns:
- Throws:
IOException
-
getIntraTaxAmbiguousContextItemScores
public Map<String,org.apache.commons.lang3.tuple.Pair<Double,String>> getIntraTaxAmbiguousContextItemScores(de.julielab.geneexpbase.candidateretrieval.SynHit synHit, org.apache.lucene.search.BooleanQuery contextQuery, String semanticItemFieldName, boolean returnContextItemValue) throws IOException
Deprecated.- Throws:
IOException
-
getContextItemScores
public Map<String,org.apache.commons.lang3.tuple.Pair<Double,String>> getContextItemScores(Collection<String> ids, org.apache.lucene.search.BooleanQuery contextQuery, String semanticItemFieldName, boolean returnContextItemValue) throws IOException
Deprecated.- Throws:
IOException
-
getContextItemsSearcher
public org.apache.lucene.search.IndexSearcher getContextItemsSearcher()
Deprecated.
-
-