Affects Version/s: 4.0-ALPHA
Fix Version/s: None
Using latest from trunk
If you query for a field that has a "-" character in the name, you get odd results. I took the example schema and added a field called "in-stock" to go along with the existing "inStock" field.
A query for http://localhost:8983/solr/select?q=*:*&fl=id,in-stock throws back an error saying the field "in" can't be found.
I can sort of work around it by quoting the field name as "in-stock":
However the output is still off:
In looking at it, I think the dash character causes the field name to be interpreted as an actual function!