Table of Contents
- 25. Search Predicates and Data Types
- 26. Index Parameters and Full-Text Search
- 27. Field Mapping
- 28. Direct Index Query
- 29. Elasticsearch
- 30. Apache Solr
- 31. 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.