On May 28, 2009, at 8:47 PM, Eric Pugh wrote:

Grant, you are quite right! I was too far down in the weeds, and didn't need to be doing all that crazyness.


And I don't actually see the metadata fields. I would expect to however!

What revision are you running?

The following was added to ERH on 4/24/09, r768281, (see SOLR-1128) to solve this exact problem:
          String[] names = metadata.names();
          NamedList metadataNL = new NamedList();
          for (int i = 0; i < names.length; i++) {
            String[] vals = metadata.getValues(names[i]);
            metadataNL.add(names[i], vals);
          }
          rsp.add(stream.getName() + "_metadata", metadataNL);


Reply via email to