Interface IndexHandler

  • All Known Implementing Classes:
    SolrIndexHandler

    public interface IndexHandler
    Interface for handling indexes.
    Author:
    arunans23
    • 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 CreateSearchIndexTask
        classKeys - classKeys from InterMineAPI, map of classname to all key field descriptors
        Throws:
        java.io.IOException - IOException is thrown from Objectstore
        org.apache.solr.client.solrj.SolrServerException - is thrown from solr