Skip to main content
Participating Frequently
October 20, 2010
Question

Coldfusion Solr Pdf index custom metadata

  • October 20, 2010
  • 1 reply
  • 2251 views

Hi, I've been trying to index some custom metadata fields using Solr... I've manage to do so, but the so-call solution only came with more issues...

1)Since I manage to index the pdf using the HTTP Post CURL in PHP, coldfusion won't read the indexed files, even thou Solr does... is there a way to use a standalone version of Solr and integrate with Coldfusion?

2)Using the Solr server CF already has, is there a way to index the pdf files the same way I did it using php and still be able to call them from coldfusion?

3)Can someone point me to some advance techniques or tutorial refering the use of Solr-Coldfusion... on how to custom index files, querys and results...

I'll appreciate all the help I can get...

    This topic has been closed for replies.

    1 reply

    cfjedimaster
    Inspiring
    October 20, 2010

    1) Not sure what you mean by 1.

    2) Solr already supports indexing PDF files.

    IxDelgaAuthor
    Participating Frequently
    October 20, 2010

    Indeed, but for some reason when you a custom metadata to the PDF, Solr won't index that data, I already created the field in the schema.xml, the only way to do it so is by using the curl script, this allows you to add a custom field to the soon-to-be-index pdf, but by doing so Coldfusion won't read that index...

    cfjedimaster
    Inspiring
    October 20, 2010

    Ahhh - custom PDF stuff.

    So - I'd do it manually. You can read custom PDF metadata using my

    pdfUtils CFC from RIAForge. Use that along with the cfpdf tag to get

    what you want from the PDFs and build your collection by hand.