Interface GraphSearchService
-
- All Known Implementing Classes:
DefaultGraphSearchService
public interface GraphSearchService
Service to search all graphs
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<SearchSuggestion>
getSuggestions(java.lang.String namespace, java.lang.String input)
Returns a list of suggestions for the given namespace and input, where input may only be a snippet of the whole data, e.g.java.util.List<GenericVertex>
search(SearchCriteria searchCriteria)
-
-
-
Method Detail
-
getSuggestions
java.util.List<SearchSuggestion> getSuggestions(java.lang.String namespace, java.lang.String input)
Returns a list of suggestions for the given namespace and input, where input may only be a snippet of the whole data, e.g. for type ahead support.- Parameters:
namespace
- The namespace to search ininput
- The "thing" to search- Returns:
- A list of results, the user may select from
-
search
java.util.List<GenericVertex> search(SearchCriteria searchCriteria)
-
-