Package org.intermine.api.searchengine
Interface IndexHandler
-
- All Known Implementing Classes:
SolrIndexHandler
public interface IndexHandler
Interface for handling indexes.- Author:
- arunans23
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
createIndex(ObjectStore os, java.util.Map<java.lang.String,java.util.List<FieldDescriptor>> classKeys)
Main method to create the index Used mostly in post process tasks
-
-
-
Method Detail
-
createIndex
void createIndex(ObjectStore os, java.util.Map<java.lang.String,java.util.List<FieldDescriptor>> classKeys) throws java.io.IOException, org.apache.solr.client.solrj.SolrServerException
Main method to create the index Used mostly in post process tasks- Parameters:
os
- Objectstore that is passed CreateSearchIndexTaskclassKeys
- classKeys from InterMineAPI, map of classname to all key field descriptors- Throws:
java.io.IOException
- IOException is thrown from Objectstoreorg.apache.solr.client.solrj.SolrServerException
- is thrown from solr
-
-