public interface Searcher
Interface for conducting full text searches against a Stardog database via the Waldo Semantic Search engine.
| Modifier and Type | Method and Description |
|---|---|
Searcher |
in(org.openrdf.model.Resource... theGraphs)
Specify the named graphs to search over, by default, only the unnamed (default) graph is searched.
|
Searcher |
limit(int theLimit)
Specify the maximum number of results to return to the search.
|
Searcher |
offset(int theOffset)
Specify the offset into the query results to return to the search
|
Searcher |
query(String theQuery)
Specify the query string for the search.
|
SearchResults |
search()
Execute the search
|
Searcher |
threshold(double theThreshold)
Specify a minimum value for the scores of the results of the search.
|
Searcher in(org.openrdf.model.Resource... theGraphs)
theGraphs - the graphs to searchContextsSearcher limit(int theLimit)
theLimit - the result limitSearcher offset(int theOffset)
theOffset - the offsetSearcher query(String theQuery)
theQuery - the query stringSearcher threshold(double theThreshold)
theThreshold - the minimum score for resultsSearchResults search() throws StardogException
StardogException - if there was an error while searching.Copyright © 2010-2016 Stardog Union. All Rights Reserved.