Search code examples
orientdb

What is OrientDB's indexing scheme?


Just like the question says. Are there explicit indexes you need to add your documents into? Or is it automatic secondary indexes?


Solution

  • There are both kinds of indexes:

    • automatic, created against the schema and populated automatically. This is very close to what RDBMS offers
    • manual, created and populated manually using Java API, HTTP REST protocol or plain SQL using "index:" as prefix instead of the class name.

    For more information look at: http://code.google.com/p/orient/wiki/Indexes