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

Pre-Indexing the database

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Done
    • None
    • 3.0.0-incubating
    • neo4j
    • None

    Description

      Hi,
      I'm using "indexing" in Neo4j, Tinkerpop3.0.0.M5. I followed the example in documentation:
      g.getBaseGraph().index().getNodeAutoIndexer().startAutoIndexingProperty('name')
      g.getBaseGraph().index().getNodeAutoIndexer().setEnabled(true)

      after I made the DB, first time that I accessed to DB, it's slow, but after that, apparently it uses the indices which is perfect. (I guess!!)
      I want also the first time access to be fast (using index). Is there any way that I can save the indices (or pre-index DB)?
      what would be the best way?

      my code: https://gist.github.com/omidb/b93bc47c74d51bc68c3c

      Thanks

      Attachments

        Activity

          People

            Unassigned Unassigned
            omidb Omid Bakhshandeh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: