lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Hoffman (JIRA)" <>
Subject [jira] [Commented] (SOLR-2731) CSVResponseWriter should optionally return numfound
Date Thu, 25 Aug 2011 16:35:29 GMT


Jon Hoffman commented on SOLR-2731:

I like maintaining consistency with the CSV format because you don't have to reinvent any
parsing logic.   It should be pretty easy for the client developer to read off the first two
lines and parse with the same tool that's used to parse the rest of the document.  Preferences
around separator, newline, etc can be reused (except maybe this meta header should always
have a column name header).

What should the parameter be called?  csv.metaheader?

> CSVResponseWriter should optionally return numfound
> ---------------------------------------------------
>                 Key: SOLR-2731
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: Response Writers
>    Affects Versions: 3.1, 3.3, 4.0
>            Reporter: Jon Hoffman
>              Labels: patch
>             Fix For: 3.1.1, 3.3, 4.0
>         Attachments: SOLR-2731.patch
>   Original Estimate: 1h
>  Remaining Estimate: 1h
> an optional parameter "csv.numfound=true" can be added to the request which causes the
first line of the response to be the numfound.  This would have no impact on existing behavior,
and those who are interested in that value can simply read off the first line before sending
to their usual csv parser.

This message is automatically generated by JIRA.
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message