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

Basic search implementation using fulltext

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8-incubating
    • Fix Version/s: 0.8-incubating
    • Component/s: atlas-core
    • Labels:
      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.4.patch
          2 kB
          Madhan Neethiraj
        2. ATLAS-1630.3.patch
          11 kB
          Madhan Neethiraj

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: