Interface SearchConnection

  • All Superinterfaces:
    java.lang.AutoCloseable, Connection

    public interface SearchConnection
    extends Connection

    Extends the standard SNARL Connection exposing the full-text search support provided by Waldo.

    Since:
    0.7
    Version:
    2.0
    Author:
    Michael Grove
    • Field Detail

      • NO_MINIMUM_THRESHOLD

        static final float NO_MINIMUM_THRESHOLD
        Constant for no minimum threshold on returned search results
        See Also:
        Constant Field Values
      • DEFAULT_LIMIT

        static final int DEFAULT_LIMIT
        The default number of results to return from a search
        See Also:
        Constant Field Values
    • Method Detail

      • search

        Searcher search()
                 throws StardogException
        Create a Searcher for conducting full-text searches against your RDF database via Waldo.
        Returns:
        a new Searcher object
        Throws:
        StardogException - if a searcher cannot be created, either because the database you are connected to does not not have search enabled or the search plugin is not installed.