Class ContextItemsIndex
- java.lang.Object
-
- de.julielab.jules.ae.genemapping.disambig.ContextItemsIndex
-
- All Implemented Interfaces:
SemanticIndex
public class ContextItemsIndex extends java.lang.Object implements SemanticIndex
-
-
Field Summary
Fields Modifier and Type Field Description org.apache.lucene.search.IndexSearchersearcher
-
Constructor Summary
Constructors Constructor Description ContextItemsIndex(GeneMappingConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<java.lang.String>getContextItems(ContextItemsCacheKey key)java.util.Collection<java.lang.String>getContextItems(java.lang.String geneId, java.lang.String field)org.apache.lucene.search.IndexSearchergetContextItemsSearcher()java.util.Map<java.lang.String,java.lang.Float>getSynonymRefSeqScoresForTaxIds(SynHit synHit, java.util.Set<java.lang.String> taxonomyIds)
-
-
-
Constructor Detail
-
ContextItemsIndex
public ContextItemsIndex(GeneMappingConfiguration configuration) throws GeneMappingException
- Throws:
GeneMappingException
-
-
Method Detail
-
getContextItems
public java.util.Collection<java.lang.String> getContextItems(ContextItemsCacheKey key) throws java.util.concurrent.ExecutionException
- Throws:
java.util.concurrent.ExecutionException
-
getContextItems
public java.util.Collection<java.lang.String> getContextItems(java.lang.String geneId, java.lang.String field) throws java.util.concurrent.ExecutionException- Throws:
java.util.concurrent.ExecutionException
-
getSynonymRefSeqScoresForTaxIds
public java.util.Map<java.lang.String,java.lang.Float> getSynonymRefSeqScoresForTaxIds(SynHit synHit, java.util.Set<java.lang.String> taxonomyIds) throws java.io.IOException
- Parameters:
synHit-- Returns:
- Throws:
java.io.IOException
-
getContextItemsSearcher
public org.apache.lucene.search.IndexSearcher getContextItemsSearcher()
-
-