public class ASTSearchOptimizer extends ASTSearchOptimizerBase
BDS.SEARCH and related magic predicates into a
ServiceNode which will invoke the bigdata search engine.
with {
select ?subj ?score
where {
?lit bds:search "foo" .
?lit bds:relevance ?score .
?subj ?p ?lit .
}
ORDER BY DESC(?score)
LIMIT 10
OFFSET 0
} as %searchSet1
| Constructor and Description |
|---|
ASTSearchOptimizer() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getNamespace()
Get the namespace variables.
|
protected org.openrdf.model.URI |
getSearchPredicate()
Get the search predicate variables.
|
protected Set<org.openrdf.model.URI> |
getSearchUris()
Get the search URIs fields.
|
optimizeprotected Set<org.openrdf.model.URI> getSearchUris()
ASTSearchOptimizerBasegetSearchUris in class ASTSearchOptimizerBaseprotected String getNamespace()
ASTSearchOptimizerBasegetNamespace in class ASTSearchOptimizerBaseprotected org.openrdf.model.URI getSearchPredicate()
ASTSearchOptimizerBasegetSearchPredicate in class ASTSearchOptimizerBaseCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.