[ 
https://issues.apache.org/jira/browse/SOLR-7441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14512502#comment-14512502
 ] 

Joel Bernstein commented on SOLR-7441:
--------------------------------------

[~erickerickson], just ran a test case with an incorrect fl and got the error 
below. So I think there is another factor involved when the error doesn't 
appear in the logs. I'll see if I can reproduce the issue. Let me know if you 
can reproduce it.

Throwable #1: org.apache.solr.common.SolrException: undefined field: "blah1"
   [junit4]    >        at 
__randomizedtesting.SeedInfo.seed([1A2758A869E78AB2:AED7CFC964A88012]:0)
   [junit4]    >        at 
org.apache.solr.schema.IndexSchema.getField(IndexSchema.java:1223)
   [junit4]    >        at 
org.apache.solr.response.SortingResponseWriter.getFieldWriters(SortingResponseWriter.java:232)
   [junit4]    >        at 
org.apache.solr.response.SortingResponseWriter.write(SortingResponseWriter.java:120)
   [junit4]    >        at 
org.apache.solr.util.TestHarness.query(TestHarness.java:326)
   [junit4]    >        at 
org.apache.solr.util.TestHarness.query(TestHarness.java:302)
   [junit4]    >        at 
org.apache.solr.response.TestSortingResponseWriter.testSortingOutput(TestSortingResponseWriter.java:145)
   [junit4]    >        at java.lang.Thread.run(Thread.java:745)

> Streaming aggregation error messages could use some improvement
> ---------------------------------------------------------------
>
>                 Key: SOLR-7441
>                 URL: https://issues.apache.org/jira/browse/SOLR-7441
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 5.1
>            Reporter: Erick Erickson
>            Assignee: Joel Bernstein
>            Priority: Minor
>         Attachments: SOLR-7441.patch, SOLR-7441.patch
>
>
> It's harder than it could be to figure out what the error is when using 
> Streaming Aggregation. For instance if you specify an fl parameter for a 
> field that doesn't exist it's hard to figure out that's the cause. This is 
> true even if you look in the Solr logs.
> I'm not quite sure whether it'd be possible to report this at the client 
> level or not, but it seems at least we could repor something more helpful in 
> the Solr logs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to