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

Scott Stults commented on SOLR-3916:
------------------------------------

Should there be a {{@Test}} annotation on {{testWhitespace()}}? I think some 
test runners might do introspection, but all of the other tests in that class 
use the annotation and was wondering if that was just an oversight or had 
specific meaning.


> fl parsing is sensitive to newlines at the end of field names
> -------------------------------------------------------------
>
>                 Key: SOLR-3916
>                 URL: https://issues.apache.org/jira/browse/SOLR-3916
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.0-BETA
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>             Fix For: 4.0, 4.1, 6.0
>
>         Attachments: SOLR-3916.patch
>
>
> As reported by giovanni.bricconi on the user list, there is a bug in "fl" 
> parsing that causes solr to get confused when a field name is followed by a 
> newline character -- eg: in a requestHandler default like...
> {noformat}
> <!-- newlines showing using "$" -->$
> <str name="fl">$
>    sku,store_slug$  
> </str>$
> {noformat}
> ...this results in solr assuming it should use function parsing to evaluate 
> the field name, which can cause missleading errors if the field name can't be 
> used in a function (eg: "can not use FieldCache on multivalued field: 
> store_slug")



--
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