On 4/11/07, Kevin Osborn <[EMAIL PROTECTED]> wrote:
I have quite a few dynamic fields. However, I will usually only want to return 
just a couple of those fields.

So, if my static fields are StaticField1 and StaticField2 and my dynamic fields 
are s_DynamicField1, sf_DynamicField2, etc., the following line will work as 
expected:

http://localhost:8080/q=...&fl=StaticField1,StaticField2,*

This will return all 4 fields.

But http://localhost:8080/q=...&fl=StaticField1,StaticField2,s_DynamicField1 
will only return StaticField1 and StaticField2.

Is this a bug? Expected behavior?

That would be a bug... but I can't reproduce it.

With the example solr server, loaded with the example data, the
following query returns both fields:
http://localhost:8983/solr/select/?q=solr&fl=name,incubationdate_dt

[...]
<result name="response" numFound="1" start="0">
        <doc>
  <date name="incubationdate_dt">2006-01-17T00:00:00.000Z</date>
  <str name="name">Solr, the Enterprise Search Server</str>
</doc>
</result>


Note that incubation_dt is a dynamic field.

-Yonik

Reply via email to