You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Bolke de Bruin (Jira)" <ji...@apache.org> on 2019/08/21 14:08:00 UTC

[jira] [Created] (ATLAS-3384) Use proper indexed queries for DSL search

Bolke de Bruin created ATLAS-3384:
-------------------------------------

             Summary: Use proper indexed queries for DSL search
                 Key: ATLAS-3384
                 URL: https://issues.apache.org/jira/browse/ATLAS-3384
             Project: Atlas
          Issue Type: Improvement
    Affects Versions: 2.0.0
            Reporter: Bolke de Bruin


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

 



--
This message was sent by Atlassian Jira
(v8.3.2#803003)