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

Labeled HasStep and Neo4jGraphStep and full graph scan

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Done
    • None
    • 3.0.0-incubating
    • neo4j
    • None

    Description

      Neo4jGraphStepStrategy.apply only applies to steps where TraversalHelper.isLabeled(currentStep) is false.

      For queries of the form g.V().has(T.label, "Person").as("person").out()... Neo4jGraphStep will not use the label and do a full graph scan.

      It works if I just remove the TraversalHelper.isLabeled(currentStep) however I do not know why the check is there in the first place?

      Attachments

        Activity

          People

            Unassigned Unassigned
            pietermartin-tinkerpop pietermartin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: