Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2133

Use neo4j index lookup in Neo4jGraphStep with HasContainers containing TextP predicates

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Done
    • 3.4.0
    • 3.5.0
    • neo4j
    • None

    Description

      When evaluating a Neo4jGraphStep with HasContainers containing TextP predicates, for example: g.V().has("Label", "name", TextP.containing("substring")), a scan over all vertices with the label is performed.

      Currently, an index lookup is used only when an complete property value is given, that is g.V().has("Label", "name", "exact") - implemented here.

      Allowing to use an index lookup for TextP predicates like containing, startingWith would substantially improve the evaluation performance.

      Attachments

        Activity

          People

            spmallette Stephen Mallette
            skorikov Andrey Skorikov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: