Table of Contents
- 21. Search Predicates and Data Types
- 22. Index Parameters and Full-Text Search
- 23. Field Mapping
- 24. Direct Index Query
- 25. Elasticsearch
- 26. Apache Solr
- 27. 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.