Constantin Mitocaru created SOLR-6497:
-----------------------------------------

             Summary: Solr 4.10 returning SolrDocument instances with empty map 
when dynamic fields are requested
                 Key: SOLR-6497
                 URL: https://issues.apache.org/jira/browse/SOLR-6497
             Project: Solr
          Issue Type: Bug
          Components: clients - java
    Affects Versions: 4.10
         Environment: Windows 7, JDK8u11
            Reporter: Constantin Mitocaru




I recently upgraded from Solr 4.9 to 4.10. At some point in the code I want to 
return the values for some dynamic fields. If I do this:
{code}
    SolrQuery query = new SolrQuery();
    query.addField("code");
    query.addField("name");
{code}
it returns the right values in the fields {{code}} and {{name}}.

If I do this:
{code}
    SolrQuery query = new SolrQuery();
    query.addField("code");
    query.addField("name");
    query.addField("*_prop");
{code}
all the fields ,including {{code}} and {{name}}, are {{null}}.





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