API Reference
API wrapper documentation for the BoxLang Meilisearch module.
Indexes
List indexes
var result = meilisearch()
.indexes()
.list();Swap indexes
meilisearch()
.indexes()
.swap( [ "books", "books_staging" ] );Get stats
Single Index
Get an index
Create an index
Get Index stats
Compact an index
Delete an index
Documents
Add or Replace Documents
Add or Update Documents
Delete All Documents
Get Documents
Get Single Document
Delete Single Document
Search
Basic search
Search with parameters
Fluent DSL with chained methods
Search with GET request
Facets
Facet search
Keys
List API keys
Get an API key
Update an API key
Delete an API key
Settings
List settings
Update settings
Reset settings
Tasks
List tasks
Get a task
Cancel tasks
Delete tasks
Batches
List batches
Get a batch
Webhooks
List webhooks
Create a webhook
Get a webhook
Update a webhook
Delete a webhook
Task Object
Understanding Tasks
Example: Creating an Index with Task Tracking
Task.getStatus()
Task.getType()
Task.toStruct()
Task.waitForCompletion( interval )
Additional Task Getters
Experimental Features
List experimental features
Get an experimental feature
Enable/disable an experimental feature
Set multiple experimental features
Snapshots
Create a snapshot
Network
Get network configuration
Update network configuration
Similar Documents
Get similar documents
Health Check
Check instance health
Version
Get instance version
Last updated
Was this helpful?
