Did someone miss https://pdfbox.apache.org/ ? It can write PDF documents, is ASF and has a ton of examples to learn from. M.
-----Original message----- > From:John Bickerstaff <j...@johnbickerstaff.com> > Sent: Monday 17th October 2016 22:05 > To: solr-user@lucene.apache.org > Subject: Re: PDF writer > > It's not fun to build a .pdf this way, but this may help... > > http://itextpdf.com/ > > On Mon, Oct 17, 2016 at 12:15 PM, Matthew Roth <matthew.g.r...@yale.edu> > wrote: > > > Thanks Erick. That is as anticipated. Scouring my other resources didn't > > indicate the existence of a PDF writer. I thought I'd try the group be > > embarking on a custom solution. > > > > > > Matt > > > > On Mon, Oct 17, 2016 at 11:58 AM, Erick Erickson <erickerick...@gmail.com> > > wrote: > > > > > There's no PDF writer that I know of, and I doubt there's much > > > enthusiasm for creating one as part of Solr. ResponseWriters are > > > pluggable so this would certainly be possible. > > > > > > At root, in a response writer you just have a map of key/value pairs > > > (it's a little more complicated than that, but not much) that you can > > > do whatever you want with, either on Solr or on a SolrJ client. > > > > > > Not much help I know... > > > > > > Best, > > > Erick > > > > > > On Mon, Oct 17, 2016 at 10:01 AM, Matthew Roth <matthew.g.r...@yale.edu> > > > wrote: > > > > Hi Group, > > > > > > > > Is there a documented or preferred path to have a PDF response writer? > > I > > > am > > > > using solr 5.3.x for an internal project. I have an XSL-FO > > transformation > > > > that I am able to return via the XSLT response writer. Is there a > > > > documented way to produceĀ a PDF via solr? Alternatively, I was > > thinking > > > of > > > > passing the response through an eXist-db instance [0] we have running. > > > > However, a pdf response writer would be ideal. > > > > > > > > Best, > > > > Matt > > > > > > > > [0] http://exist-db.org/ > > > > >