Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
8.5
-
None
-
None
Description
the random streaming expression is actually a facade, that wraps either a RandomStream.java or DeepRandomStream.java.
A query that translates to RandomStream (i.e under 5000) gives this error:
"Unable to find function name for class 'org.apache.solr.client.solrj.io.stream.RandomStream'".
The class that is being registered in StreamFactory is the "random":"org.apache.solr.client.solrj.io.stream.RandomFacadeStream".
DeepRandomStream has the function name "random" hard coded, and we could just do that on the RandomStream as well..? Alternatively, we could change up both DeepRandomSTream and RandomStream to look up the function name using the class RandomFacadeStream.