Welcome to the orientdb-lucene wiki!

orientdb-lucene is compatible with OrientDB >= 1.7 (also 1.7-SNAPSHOT latest)

How to install orientdb-lucene

Server Mode

Go to the releases page, pick up a release and put the jar in your OrientDB installation under the plugins directory. Restart the server and start using Lucene. If the plugin is correctly installed, you will se a in the server log: INFO Lucene index plugin installed and active. Lucene version: LUCENE_47 [OLuceneIndexPlugin]

OR

Clone this project and run mvn assembly:assembly and copy the jar (orientdb-lucene-version-dist.jar) from target folder into the ‘lib’ directory of your OrientDB installation

Embedded Mode

Add the Sonatype Nexus Snapshots into your pom

  1. <repositories>
  2. <repository>
  3. <id>sonatype-nexus-snapshots</id>
  4. <name>Sonatype Nexus Snapshots</name>
  5. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  6. <releases>
  7. <enabled>false</enabled>
  8. </releases>
  9. <snapshots>
  10. <enabled>true</enabled>
  11. </snapshots>
  12. </repository>
  13. </repositories>

Then add the orientdb-lucene dependency

  1. <dependency>
  2. <groupId>com.orientechnologies</groupId>
  3. <artifactId>orientdb-lucene</artifactId>
  4. <version>1.7</version>
  5. </dependency>

How to use orientdb-lucene

Orientdb-lucene for now supports to types of index

  1. Full Text index
  2. Spatial Index