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.
|
optimize
protected Set<org.openrdf.model.URI> getSearchUris()
ASTSearchOptimizerBase
getSearchUris
in class ASTSearchOptimizerBase
protected String getNamespace()
ASTSearchOptimizerBase
getNamespace
in class ASTSearchOptimizerBase
protected org.openrdf.model.URI getSearchPredicate()
ASTSearchOptimizerBase
getSearchPredicate
in class ASTSearchOptimizerBase
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.