Re: csv responsewriter and numfound

2011-08-25 Thread Jon Hoffman
I've added a case with patch here: https://issues.apache.org/jira/browse/SOLR-2731 On Wed, Aug 24, 2011 at 11:59 AM, Jon Hoffman wrote: > I took a look at the source and agree that it would be a bit hairy to > bubble up header settings from the response writers. > > Alternatively, and I'll admit

Re: csv responsewriter and numfound

2011-08-24 Thread Jon Hoffman
I took a look at the source and agree that it would be a bit hairy to bubble up header settings from the response writers. Alternatively, and I'll admit that this is a somewhat hacky proposal, an optional parameter "csv.numfound=true" could be added to the request which would cause the first line

Re: csv responsewriter and numfound

2011-08-24 Thread Erik Hatcher
Good idea. However response writers can't control HTTP response headers currently... Only the content type returned. Erik On Aug 24, 2011, at 8:52, Jon Hoffman wrote: > What about the HTTP response header? > > >>> Great question. But how would that get returned in the response? >>>

Re: csv responsewriter and numfound

2011-08-24 Thread Jon Hoffman
What about the HTTP response header? > > Great question. But how would that get returned in the response? > > > > It is a drag that the header is lost when results are written in CSV, but > there really isn't an obvious spot for that information to be returned. > > I guess a comment would be one

Re: csv responsewriter and numfound

2011-08-08 Thread Yonik Seeley
On Mon, Aug 8, 2011 at 5:12 PM, Erik Hatcher wrote: > Great question.  But how would that get returned in the response? > > It is a drag that the header is lost when results are written in CSV, but > there really isn't an obvious spot for that information to be returned. I guess a comment would

Re: csv responsewriter and numfound

2011-08-08 Thread Erik Hatcher
Great question. But how would that get returned in the response? It is a drag that the header is lost when results are written in CSV, but there really isn't an obvious spot for that information to be returned. Erik On Aug 4, 2011, at 01:52 , Pooja Verlani wrote: > Hi, > > Is there