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