[ https://issues.apache.org/jira/browse/ATLAS-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Madhan Neethiraj updated ATLAS-1630: ------------------------------------ Attachment: ATLAS-1630.4.patch Review board URL: https://reviews.apache.org/r/57720/ > 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: Srikanth Venkat > Assignee: Sarath Subramanian > Fix For: 0.8-incubating > > Attachments: ATLAS-1630.3.patch, ATLAS-1630.4.patch > > > 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)