Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-6497

Solr 4.10 returning SolrDocument instances with empty map when dynamic fields are requested

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • 4.10
    • None
    • clients - java
    • Windows 7, JDK8u11

    Description

      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:

          SolrQuery query = new SolrQuery();
          query.addField("code");
          query.addField("name");
      

      it returns the right values in the fields code and name.

      If I do this:

          SolrQuery query = new SolrQuery();
          query.addField("code");
          query.addField("name");
          query.addField("*_prop");
      

      all the fields ,including code and name, are null.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              biliboc Constantin Mitocaru
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: