atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sarath Subramanian <>
Subject Re: Review Request 57302: [ATLAS-1630] : Basic search implementation using fulltext
Date Sat, 04 Mar 2017 07:51:09 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated March 3, 2017, 11:51 p.m.)

Review request for atlas and Madhan Neethiraj.

Bugs: ATLAS-1630

Repository: atlas


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:
    a. query
    b. type
    c. classification
    d. limit
    e. offset
3. Given ‘query’ should be matched against ‘entityText’ attribute
    g.V().has(‘entityText’,com.thinkaurelius.titan.core.attribute.Text.CONTAINS, ‘query’)
4. If ‘type’ is provided, add the following filter:
    .has(‘__typeName’,, [‘type’, ‘super-types-of-type’])
5. If ‘classification’ is provided, add the following filter:
    .has(‘__traitNames’,, [‘classification’, ‘super-types-of-classification’])
6. limit/offset parameters..

Diffs (updated)

  intg/src/main/java/org/apache/atlas/model/discovery/ c4c0063 
  intg/src/main/java/org/apache/atlas/type/ 82b0310 
  intg/src/main/java/org/apache/atlas/type/ c6be8f5 
  repository/src/main/java/org/apache/atlas/discovery/ 21ce14d 
  repository/src/main/java/org/apache/atlas/discovery/ 5628ed8

  repository/src/main/java/org/apache/atlas/util/ e4777be 
  repository/src/main/java/org/apache/atlas/util/ f076750 
  webapp/src/main/java/org/apache/atlas/web/rest/ 7f75a27 




REST API testing suceeded.


Sarath Subramanian

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message