Interface SearchConnection

All Superinterfaces:
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 Details

    • NO_MINIMUM_THRESHOLD

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

      static final int DEFAULT_LIMIT
      The default number of results to return from a search
      See Also:
    • MATCH_PREDICATE

      static final String MATCH_PREDICATE
      See Also:
  • Method Details

    • 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.