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