Apache Solr

Lucene-based search server; standalone by default, SolrCloud for sharding.

Provider
default
Category
Data
Properties · 4 set by this component
propertytypevaluesrequiredkind defaultthis component
cloudMode · component propertyboolean—nofalseinherited
geoScheme · advancedenumnone | s2 | h3 | geohash | quadtreenononeinherited
indexingenumsync | async | batchnoasync▸ async
managedboolean—nofalseinherited
rebuildCadenceHours · advancedinteger—no—inherited
replicasinteger—no—▸ 1
shardingStrategy · advancedenumnone | hash | geo | time | prefix-rangenonone▸ none
shards · component propertyinteger—no1inherited
structureenuminverted | trie | vector | geo-cellnoinverted▸ inverted
Rules that apply · 1

Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.

derived-store-without-cdc-or-rebuild

A search index is derived data and needs an asynchronous feed from a stream, change data capture or an indexing worker. Without one it is written inline on the request path, and it can never be rebuilt after it drifts.

  • — this does not hold:
  • — the node has at least one asynchronous incoming edge from a stream, change-data-capture or worker
Use it in a design
nodes:
  - { id: "solr", component: "solr" }
Other Search index products · 31
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# Apache Solr: Lucene-based inverted index; starts standalone, SolrCloud hash sharding is opt-in.
schemaVersion: "1"
type: "component"
id: "solr"
kind: "search-index"
provider: "default"
docs: "https://solr.apache.org/guide/"
defaults:
  structure: "inverted"
  shardingStrategy: "none"
  indexing: "async"
  replicas: 1
properties:
  cloudMode:
    type: "boolean"
    default: false
  shards:
    type: "integer"
    default: 1

The same page as markdown, for an agent: /catalogue/components/solr.md