vania_elasticsearch 1.0.0
vania_elasticsearch: ^1.0.0 copied to clipboard
Production-ready Elasticsearch client, query builder, bulk indexing, and Vania integration.
1.0.0 #
First stable release.
- Requires
vania2.0.0. - Elasticsearch client with index, document, search, and bulk APIs, plus a query builder.
Searchablemixin —class Post extends Model with Searchablegivessearchable(),unsearchable(), andsearch();bulkIndex()handles batches.- One
HttpClientper request inIoElasticsearchTransport, which removes the client-wide mutable-property race under concurrent traffic. ElasticsearchServiceProviderruns an optional health probe on boot (ELASTICSEARCH_WARM_UP) and logs a warning on failure rather than throwing.- Add
Searchablemixin —Model+Searchablegivessearchable(),unsearchable(), andsearch(). GlobalbulkIndex()helper for batches. IoElasticsearchTransportnow creates oneHttpClientper request to eliminate the client-wide mutable-property race on concurrent traffic.ElasticsearchConfig.warmUp(envELASTICSEARCH_WARM_UP) — when set,ElasticsearchServiceProvider.bootruns a HEAD/health probe and logs a warning on failure (never throws).