Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.8-incubating
-
None
Description
1. Introduce a new search endpoint in DiscoveryREST called ‘/basic’ – this is in addition to existing /dsl and /fulltext
2. This method should take the following query parameters:
query, type, classification, limit and offset.
3. Given ‘query’ should be matched against ‘entityText’ attribute
a g.V().has(‘entityText’,com.thinkaurelius.titan.core.attribute.Text.CONTAINS, ‘query’)
4. If ‘type’ is provided, add the following filter:
a. .has(‘__typeName’, T.in, [‘type’, ‘super-types-of-type’])
5. If ‘classification’ is provided, add the following filter:
a. .has(‘__traitNames’, T.in, [‘classification’, ‘super-types-of-classification’])
6. And the usual limit/offset parameters..