This will likely not be fitting to commit to cvs for the apachesolr module, it is just a little feature to export results as csv.

Likely this patch will not be needed as the apachesolr_views module develops, in combination with views bonus module.

CommentFileSizeAuthor
apachesolr_exportcsv.patch2.99 KBaufumy

Comments

robertdouglass’s picture

aufumy - thanks for this. I'm working on also sending this to "Print" and some other options, like PubMed has on their search results. Perhaps I'll be able to roll a contrib module that does all of that. This patch will be very helpful.

janusman’s picture

This also helps #386336: Document (in ApacheSolr docs) that you can use OpenSearch module for generating RSS feeds for search results ...

I also realize ApacheSolr Views could do this, but the code seems simple enough, and I'm guessing it has a wide audience (well, at least the RSS issue, not sure about that many wanting CSV export!)

robertdouglass’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev
jpmckinney’s picture

Status: Needs review » Closed (won't fix)

Write a contrib module. And I don't think that eventual contrib module should live within this module.

dayer4b’s picture

I just finished working on a module that can take ApacheSolr search results and generate a CSV.

http://drupal.org/sandbox/dayer4b/1822412

This isn't for Drupal 6, but maybe somebody can convert it?