Jan Høydahl created SOLR-13014:
----------------------------------
Summary: URI Too Long with large streaming expressions in SolrJ
Key: SOLR-13014
URL: https://issues.apache.org/jira/browse/SOLR-13014
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Components: SolrJ, streaming expressions
Reporter: Jan Høydahl
For very large expressions (e.g. with a complex search string) we'll hit the
max HTTP GET limit since SolrJ does not enforce POST for all expressions. This
goes at least for {{FacetStream}}, {{StatsStream}} and {{TimeSeriesStream}},
and I'll link a Pull Request fixing these three.
Here is an example of a stack trace when using TimeSeriesStream with a very
large expression: [https://gist.github.com/ea626cf1ec579daaf253aeb805d1532c]
The fix is simply to use {{new QueryRequest(parameters,
SolrRequest.METHOD.POST);}} to explicitly force POST.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]