neo4j/community — Issue #143: Enable auto-indexing by default & index all properties by default
Author: espeed
Created: 2011-12-22 09:50:09+00:00
State: open

Even though it's an experimental feature, Neo4j will be easier to demo if auto-indexing is enabled by default and it indexes all element properties by default.

Potential Python demo:

```python
>>> from bulbs.neo4jserver import Graph
>>> g = Graph()
>>> james = g.vertices.create({'name':'James'})
>>> julie = g.vertices.create({'name':'Julie'})
>>> g.edges.create(james,"knows",julie)
>>> g.vertices.index.lookup(name="James")
```

Without auto-indexing enabled, you'd have to explain:

1. How to enable auto indexes and choose the indexable property keys ahead of time, or...
2. How to add add elements to a manual index, or...
3. How to use Gremlin scripts.

That's too much for step 1.

Once they're familiar with Neo4j, it would be easy to explain how to disable auto-indexing for production use.