nick-boss-tech opened a new pull request, #4965: URL: https://github.com/apache/solr/pull/4965
`EmbeddedSolrServer.queryAndStreamResponse` returned raw Lucene `IndexableField` values inside `SolrDocument`s, while `query` and `HttpSolrClient` return SolrJ-native objects (after javabin deserialization). The streaming path was inconsistent with every other client path. This adds `DocsStreamer.externalizeStoredValues`, which converts stored `IndexableField` values to their native types via the schema — handling nested/child documents and multi-valued fields — and applies it in the embedded streaming path. JSON/XML writers and transformers that still expect stored fields as `IndexableField` are untouched. Tests: - New `TestEmbeddedSolrServerStreamingTypes` asserts `queryAndStreamResponse` returns native types (`Integer` for pint, `String` for string), including a multi-valued field case, matching `query` results. - `EmbeddedSolrNoSerializeTest` updated accordingly. Changelog: `changelog/unreleased/SOLR-10198.yml` (fixed) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
