none
How to configure JDBC Connector to use DocumentRetriever stage RRS feed

  • Question

  • Hi,

     

    I want use DocumentRetriever stage to retrieve the document while I am indexing the content from my database. I know that I have to pass the url to getpath attribute to make this happen. But how to set this mapping up in JDBC connector. I checked out the Fast index profile and found there is no getpath filed present there. any help?

     

    Thanks,

    Elson

    Friday, March 11, 2011 8:42 PM

Answers

  • You don't need a field defined in the index profile in order to see it in the document processing pipeline. You can also, of course, just add the field to the index profile. For this, just send the path to the file into ESP using whatever the default attribute name is. Then, in the document processing pipeline use the AttributeCopy stage to copy it to an attribute named "getpath". Add DocumentRetriever after your AttributeCopy stage.
    • Marked as answer by Elsgali Wednesday, March 16, 2011 3:18 PM
    Tuesday, March 15, 2011 2:24 PM