Class SearchIndexUtils


  • public class SearchIndexUtils
    extends java.lang.Object
    This is utility class with tool useful for manipulation on the SearchIndex.
    Version:
    2.3
    • Constructor Detail

      • SearchIndexUtils

        public SearchIndexUtils()
    • Method Detail

      • createSearchIndex

        public static SearchIndex createSearchIndex​(java.util.Properties parameters)
                                             throws java.lang.Exception
        The method creates instance of SearchIndex. The type of instantiated class depends on the value of LuceneSail.INDEX_CLASS_KEY parameter. By default it is org.eclipse.rdf4j.sail.lucene.LuceneIndex.
        Parameters:
        parameters -
        Returns:
        search index
        Throws:
        java.lang.Exception