[
https://issues.apache.org/jira/browse/SOLR-9314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hoss Man updated SOLR-9314:
---------------------------
Attachment: SOLR-9314.patch
WIP patch with new validators for {{\[shard\]}}, {{\[explain\]}},
{{\[value\]}}, {{\[geo\]}}, and {{\[subquery\]}}
The subquery validation tries to search for all docs with teh same field value
as the current doc, asserting that there is always at least 1 match -- but this
assertion currently fails ... by the looks of it this is (obviously) because it
doesn't know to to use the realtime seracher re-opened by the RTG ... but based
on how the SubQueryAugmenter is implemented, i'm not even certain how to go
about it.
> Add all known transformers to TestRandomFlRTGCloud and fix any bugs found
> -------------------------------------------------------------------------
>
> Key: SOLR-9314
> URL: https://issues.apache.org/jira/browse/SOLR-9314
> Project: Solr
> Issue Type: Task
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Hoss Man
> Attachments: SOLR-9314.patch
>
>
> SOLR-9285 is/has added a new TestRandomFlRTGCloud for testing out random
> permutations of {{fl}} params in RTG requests.
> simple field names, field renames, field globs, and ValueSources/functions
> are already tested -- adding additional DocTransformers is fairly straight
> forward by implementing a simple FlValidator.
> This issue is being filed to track the work needed to:
> * review the list of all DocTransformers in solr and add test coverage of
> them in this method
> * file any blocker issues if new bugs are found in this process
> * once all DocTransformers are accounted for, update TestRandomFlRTGCloud to
> programatically compare the list of FlValidator's it knows about with the
> list of all DocTransformers (similar to how
> QueryEqualityTest.testParserCoverage works) to fail the test if anyone adds a
> DocTransformer w/o adding corisponding test coverage to this class.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]