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

Use proper indexed queries for DSL search

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 2.0.0
    • None
    • None
    • None

    Description

      Per janusgraph documentation https://docs.janusgraph.org/latest/index-parameters.html strings are indexed as text by default. To use the indexes one is required to use

      • textContains: is true if (at least) one word inside the text string matches the query string
      • textContainsPrefix: is true if (at least) one word inside the text string begins with the query string
      • textContainsRegex: is true if (at least) one word inside the text string matches the given regular expression
      • textContainsFuzzy: is true if (at least) one word inside the text string is similar to the query String (based on Levenshtein edit distance)

      Atlas uses string search which is suboptimal and leads to significant performance loss. We have observed subsecond queries vs half minute pkus

       

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            bolke Bolke de Bruin

            Dates

              Created:
              Updated:

              Slack

                Issue deployment