Field names don't absolutely have to follow Java naming conventions, but if they don't then they are not GUARANTEED to work in all contexts in Solr. The fl parameter is one of those contexts.

You can work around it by using a function query: field(1234566_user)

-- Jack Krupansky

-----Original Message----- From: William Bell
Sent: Wednesday, April 24, 2013 1:16 AM
To: solr-user@lucene.apache.org
Subject: Fields issue 4.2.1

I am getting no results when using dynamic field, and the name begins with
numbers.

This is okay on 3.6, but does not work in 4.2.

dynamic name: 1234566_user

fl=1234566_user

If I change it to name: user_1234566 it works.

This appears to be a bug.


--
Bill Bell
billnb...@gmail.com
cell 720-256-8076

Reply via email to