This is kind of an unusual request, what higher-level problem are you trying to solve here? Because the field just *isn't there* in the underlying Lucene index for that document.
I suppose you could index a "not there" token and just throw those values out from the response... Erick On Wed, Jan 27, 2010 at 6:19 PM, Turner, Robbin J < robbin.j.tur...@boeing.com> wrote: > I have a field Title and Summary. I've currently not set a default value > for the Summary in my schema, it's just a text field with indexed=true and > stored=true, but not required. When the data is indexed sometimes the > documents don't have a summary so then Solr doesn't index that field. > > When a query is sent and we get the results for those documents returned, > if they did not have a summary then there is no tagged in the xml for that > field. > > Is there a way to have the xml always return the field tags for each > document in the result set even if the field has no data? > > I apologize ahead of time if this has been answered, but after doing a bit > of search have not been able to find the answer elsewhere. > > Thanks > Robbin > > >