Search options
Ayase Quart provides two search methods:- Vanilla search - Native SQL-based search (always available)
- Index search - Full-text search using dedicated search engines (optional)
Supported search engines
| Engine | Status | Notes |
|---|---|---|
| LNX | Fully supported | Recommended, extremely fast (<2ms for 100 results) |
| Meilisearch | Partial support | Low RAM usage, good disk efficiency |
| TypeSense | Partial support | C++ based, caching support |
Only LNX 0.9.0 is currently supported. LNX 0.10.0 is incomplete and not recommended.
LNX setup (recommended)
LNX offers the best performance with sub-millisecond search times.Review Docker configuration
Navigate to the LNX directory and review the configuration:The default configuration:
Configure Ayase Quart
Edit
config.toml to enable index search:max_concurrency: Range 4-16. Keep low for large datasets to prevent I/O contention.reader_threads/writer_threads: Set to your vCPU count.writer_buffer: Bytes before disk flush. Default 256MB, shown is 2GB.
Load board data
Load your boards into the search index:Replace board names with the ones you’re archiving. You should see progress bars, and Terminal A should show LNX processing data.
Automation with systemd
Automate LNX startup on server reboot with a systemd service.Create startup script
Create Make it executable:
/usr/local/bin/start_lnx.sh:Update the path to match your LNX installation directory.
Search index management
Manage your search index with theayaseq search commands.
Create index
Initialize a new search index:Delete index
Wipe all index data:Reset index
Delete and recreate the index:Load boards
Load specific boards into the index:Incremental updates
Update the index with new posts:Configure vanilla search
Configure the native SQL-based search inconfig.toml:
Search engine comparison
LNX
Pros:- Extremely fast (<2ms for 100 results)
- Uses Tantivy for indexing
- Consistent performance under load
- No boolean or null support
- Single writer lock required
- Documentation lacking
- Version 0.10.0 incomplete
Meilisearch
Pros:- Very low RAM usage
- Leverages disk efficiently
- Built-in debug UI
- No infix search
- Slow ingestion (bottlenecked on single core)
- Single node only
- Only considers first 10 words of search queries
TypeSense
Pros:- Caching support for reduced load
- C++ based for performance
- No null support
- No primary key concept (duplicates possible)
- Limited result sets (100 works, 10,000 fails)
- Requires authentication even in dev mode
Next steps
Moderation guide
Set up content moderation and reporting
Production deployment
Deploy Ayase Quart to production