public class SearchHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
protected GraphBaseWithSearchIndex |
graph |
protected SearchRepository |
searchRepository |
| Constructor and Description |
|---|
SearchHelper(SearchRepository searchRepository,
Graph graph) |
| Modifier and Type | Method and Description |
|---|---|
List<Element> |
search(ClientApiSearch savedSearch,
User user,
Authorizations authorizations,
boolean includeEdges) |
List<String> |
searchCypher(ClientApiSearch savedSearch,
User user,
Authorizations authorizations) |
protected final SearchRepository searchRepository
protected final GraphBaseWithSearchIndex graph
@Inject public SearchHelper(SearchRepository searchRepository, Graph graph)
public List<Element> search(ClientApiSearch savedSearch, User user, Authorizations authorizations, boolean includeEdges)
public List<String> searchCypher(ClientApiSearch savedSearch, User user, Authorizations authorizations)
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.