Class SolrIndexHandler
- java.lang.Object
-
- org.intermine.api.searchengine.solr.SolrIndexHandler
-
- All Implemented Interfaces:
IndexHandler
public final class SolrIndexHandler extends java.lang.Object implements IndexHandler
Solr Implementation of IndexHandler- Author:
- arunans23
-
-
Constructor Summary
Constructors Constructor Description SolrIndexHandler()
-
Method Summary
All Methods Instance Methods Concrete 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
public 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
Description copied from interface:IndexHandler
Main method to create the index Used mostly in post process tasks- Specified by:
createIndex
in interfaceIndexHandler
- 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
-
-