Table of Contents
- 26. Search Predicates and Data Types
- 27. Index Parameters and Full-Text Search
- 28. Field Mapping
- 29. Direct Index Query
- 30. Elasticsearch
- 31. Apache Solr
- 32. Apache Lucene
While JanusGraph’s composite graph indexes are natively supported through the primary storage backend, mixed graph indexes require that an indexing backend is configured. Mixed indexes provide support for geo, numeric range, and full-text search.
The choice of index backend determines which search features are supported, as well as the performance and scalability of the index. JanusGraph currently supports three index backends: Elasticsearch, Apache Solr and Apache Lucene.
Use Elasticsearch or Solr when there is an expectation that JanusGraph will be distributed across multiple machines. Lucene performs better in small scale, single machine applications. It performs better in unit tests, for instance.