Interface KnowledgeIndex

    • Method Summary

      Static Methods 
      Modifier and Type Method Description
      static <T extends KnowledgeIndex>
      T
      create​(java.lang.Class<T> type, Model model)
      Creates a KnowledgeIndex for a particular class.
    • Method Detail

      • create

        static <T extends KnowledgeIndex> T create​(java.lang.Class<T> type,
                                                   Model model)
        Creates a KnowledgeIndex for a particular class.
        Type Parameters:
        T - Type of knowledge index to create.
        Parameters:
        model - Model to provide to the knowledge index constructor.
        type - Class to create.
        Returns:
        Returns the created KnowledgeIndex.
        Throws:
        java.lang.RuntimeException - if the index cannot be created.