Thank you very much!
I've singlelined, spaced removed every fl field in my solrconfig and now
the app works fine
Giovanni
Il 05/10/12 20:49, Chris Hostetter ha scritto:
: So extracting the attachment you will be able to track down what appens
:
: this is the query that shows the error, and below you can see the latest stack
: trace and the qt definition
Awesome -- exactly what we needed.
I've reproduced your problem, and verified that it has something to do
with the extra newlines which are confusing the parsing into not
recognizing "store_slug" as a simple field name.
The workarround is to modify the fl in your config to look like this...
<str name="fl">sku,store_slug</str>
...or even like this...
<str name="fl"> sku, store_slug </str>
...and then it should work fine.
having a newline immediately following the store_slug field name is
somehow confusing things, and making it not recognize "store_slug" as a
simple field name -- so then it tries to parse it as a function, and
since bare field names can also be used as functions that parsing works,
but then you get the error that the field can't be used as a function
since it's multivalued.
I'll try to get a fix for this into 4.0-FINAL...
https://issues.apache.org/jira/browse/SOLR-3916
-Hoss