Skip to main content
Use this page when you need the quickest way to index a collection.
Define index do … map in your model first. See Indexer.

Fastest ways to index

1

CLI (single collection)

2

Ruby (single or multiple collections)

Use partition: to rebuild specific partitions.

Optional: auto-sync on changes

app/models/book.rb

Next steps