Class SolrSailFactory

java.lang.Object
org.eclipse.rdf4j.sail.solr.config.SolrSailFactory
All Implemented Interfaces:
SailFactory

@Deprecated(since="5.3.0", forRemoval=true) public class SolrSailFactory extends Object implements SailFactory
Deprecated, for removal: This API element is subject to removal in a future version.
since 5.3.0. Solr integration is deprecated for removal; use alternative Lucene-backed search implementations instead.
A SailFactory that creates LuceneSails based on RDF configuration data.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
    The type of repositories that are created by this factory.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns a Sail instance that has been initialized using the supplied configuration data.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the Sail's type: openrdf:LuceneSail/Solr.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • SolrSailFactory

      public SolrSailFactory()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getSailType

      public String getSailType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the Sail's type: openrdf:LuceneSail/Solr.
      Specified by:
      getSailType in interface SailFactory
    • getConfig

      public SailImplConfig getConfig()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getConfig in interface SailFactory
    • getSail

      public Sail getSail(SailImplConfig config) throws SailConfigException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: SailFactory
      Returns a Sail instance that has been initialized using the supplied configuration data.
      Specified by:
      getSail in interface SailFactory
      Parameters:
      config - TODO
      Returns:
      The created (but un-initialized) Sail.
      Throws:
      SailConfigException - If no Sail could be created due to invalid or incomplete configuration data.