Repository navigation
GA chunk_rescorer in text_similarity_reranker - #139830
Conversation
| `chunking_settings` | ||
| : (Optional, `object`) | ||
|
|
||
| Settings for chunking text into smaller passages for scoring and reranking. {applies_to}`stack: beta 9.2` By default, chunking settings are configured to fit within the token window of the model associated with the `inference_id`. Refer to the [Inference API documentation](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-inference-put#operation-inference-put-body-application-json-chunking_settings) for valid values for `chunking_settings`. |
There was a problem hiding this comment.
@mridula-s109 removed this as the tag is at the top
|
Pinging @elastic/search-relevance (Team:Search - Relevance) |
|
Hi @kderusso, I've created a changelog YAML for you. |
🔍 Preview links for changed docs |
ℹ️ Important: Docs version tagging👋 Thanks for updating the docs! Just a friendly reminder that our docs are now cumulative. This means all 9.x versions are documented on the same page and published off of the main branch, instead of creating separate pages for each minor version. We use applies_to tags to mark version-specific features and changes. Expand for a quick overviewWhen to use applies_to tags:✅ At the page level to indicate which products/deployments the content applies to (mandatory) What NOT to do:❌ Don't remove or replace information that applies to an older version 🤔 Need help?
|
…#147371) ## Summary Reverts #147297. The new single-file caching path calls `object.lastModified().toEpochMilli()` in `ExternalSourceResolver#resolveSource`, but `StorageObject.lastModified()` returns `null` for the GCS and Azure fixtures exercised by `external-basic.csv-spec`, causing an NPE that cascades to 2,300–2,900 test failures per affected run. The failure is deterministic — every PR rebased onto `main` after #147297 merged has been failing `part-5` identically for ~8 hours. Confirmed across 6+ unrelated PRs including the author's own pre-merge CI build ([#139830](https://buildkite.com/elastic/elasticsearch-pull-request/builds/139830), both initial run and smart retry). Reverting to unblock the merge queue. Re-land after null-guarding `lastModified()` (or gating on `StorageProvider#supportsStableMetadata()` for the cache path as the PR intended — currently `isCacheable()` checks `supportsStableMetadata()` but all non-HTTP providers return the default `true`, which doesn't match reality for the GCS/Azure fixtures). ## Test plan - [ ] `:x-pack:plugin:esql-datasource-csv:qa:javaRestTest` — `external-basic` subset green. - [ ] `:x-pack:plugin:esql:qa:server:multi-node:javaRestTest` — `ExternalDistributedSpecIT.external-basic.*` green. - [ ] Full `part-5` recovers on CI.
…47297)" (elastic#147371) ## Summary Reverts elastic#147297. The new single-file caching path calls `object.lastModified().toEpochMilli()` in `ExternalSourceResolver#resolveSource`, but `StorageObject.lastModified()` returns `null` for the GCS and Azure fixtures exercised by `external-basic.csv-spec`, causing an NPE that cascades to 2,300–2,900 test failures per affected run. The failure is deterministic — every PR rebased onto `main` after elastic#147297 merged has been failing `part-5` identically for ~8 hours. Confirmed across 6+ unrelated PRs including the author's own pre-merge CI build ([elastic#139830](https://buildkite.com/elastic/elasticsearch-pull-request/builds/139830), both initial run and smart retry). Reverting to unblock the merge queue. Re-land after null-guarding `lastModified()` (or gating on `StorageProvider#supportsStableMetadata()` for the cache path as the PR intended — currently `isCacheable()` checks `supportsStableMetadata()` but all non-HTTP providers return the default `true`, which doesn't match reality for the GCS/Azure fixtures). ## Test plan - [ ] `:x-pack:plugin:esql-datasource-csv:qa:javaRestTest` — `external-basic` subset green. - [ ] `:x-pack:plugin:esql:qa:server:multi-node:javaRestTest` — `ExternalDistributedSpecIT.external-basic.*` green. - [ ] Full `part-5` recovers on CI.
GA's chunk rescorer and adds warnings about usage.