Sarath Subramanian created ATLAS-1630:
-----------------------------------------
Summary: Basic search implementation using fulltext
Key: ATLAS-1630
URL: https://issues.apache.org/jira/browse/ATLAS-1630
Project: Atlas
Issue Type: Bug
Components: atlas-core
Affects Versions: 0.8-incubating
Reporter: Sarath Subramanian
Assignee: Sarath Subramanian
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..
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)