malliaridis commented on PR #2479:
URL: https://github.com/apache/solr/pull/2479#issuecomment-2465603881
A few more notes:
- [ ] `bin/solr stream --help` does not include any reference to the stream
expression argument required at position 0 (or any other position that is valid)
- [ ] When providing an invalid stream expression, error message is not
helpful
```sh
bin\solr.cmd stream "search(q=*:*)" -e local -s http://localhost:8983 -c
techproducts
```
(missing collection in expression) returns "Unable to construct instance
of org.apache.solr.client.solrj.io.stream.SearchFacadeStream"
- I would like a message that at least says something like "double check
your stream expression" if it is one of the causes
- [ ] For my understanding, is it a technical limitation that `-e local`
does not require a collection (`-c`), but `-e solr` requires one?
- [ ] I also noticed that providing `-s` requires a URI scheme, but `-z`
does not allow one. Is this inconsistency for all commands?
--
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]