Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-1630

Basic search implementation using fulltext

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8-incubating
    • 0.8-incubating
    • atlas-core
    • 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..

      Attachments

        1. ATLAS-1630.3.patch
          11 kB
          Madhan Neethiraj
        2. ATLAS-1630.4.patch
          2 kB
          Madhan Neethiraj

        Activity

          People

            sarath Sarath Subramanian
            srikvenk Srikanth Venkat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: