[
https://issues.apache.org/jira/browse/SOLR-9285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15374299#comment-15374299
]
Yonik Seeley commented on SOLR-9285:
------------------------------------
{quote}
- refactors the ulog.openRealtimeSearcher() logic in RTG Component to also
apply when there are transformers
- Adds a new light weight (private) RTGResultContext class for wrapping
realtime {{SolrIndexSearcher}}s for use with transformers.
{quote}
+1, this sounds like the right approach.
{quote}
- Fixes ValueSourceAugmenter.setContext to use ResultContext.getSearcher()
instead of the one that comes from the request
Independent of anything else, this seems like a bug
{quote}
Yep. ResultContext having a getSearcher is relatively new... I added it to
support SOLR-7830, but I obviously didn't find all the places that needed
changing.
> ArrayIndexOutOfBoundsException when ValueSourceAugmenter used with RTG on
> uncommitted doc
> -----------------------------------------------------------------------------------------
>
> Key: SOLR-9285
> URL: https://issues.apache.org/jira/browse/SOLR-9285
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Hoss Man
> Attachments: SOLR-9285.patch, SOLR-9285.patch
>
>
> Found in SOLR-9180 testing.
> Even in single node solr envs, doing an RTG for an uncommitted doc that uses
> ValueSourceAugmenter (ie: simple field aliasing, or functions in fl) causes
> an ArrayIndexOutOfBoundsException
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]