You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2014/09/10 18:39:33 UTC
[jira] [Commented] (SOLR-6497) Solr 4.10 returning SolrDocument
instances with empty map when dynamic fields are requested
[ https://issues.apache.org/jira/browse/SOLR-6497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128697#comment-14128697 ]
Shalin Shekhar Mangar commented on SOLR-6497:
---------------------------------------------
I think this may be a duplicate of SOLR-6501
> 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
> Priority: Critical
> Labels: patch
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org