Hi Muhammed, The servlet you would write is completely independent of MCF; it's more tightly coupled with your repository. Its goal is to serve documents that your search engine finds. The search engine will return the document URL, and you need a way of providing the document referenced by that URL to the end user.
Hope this helps. Karl On Mon, Jan 27, 2014 at 8:52 AM, Muhammed Olgun <[email protected]> wrote: > Hi, > > I was reading the ManifoldCF book's designing repository connector > section. There is a part about the document URL. It seems like we should > provide a document URL to ingestDocument method and it says we can build a > web application to provide a URL. > > Yes, it is easy to build a web application to provide a URL as mentioned > in the book but my question is that how should we integrate with > ManifoldCF? I mean, should we write a Servlet for it inside > the org.apache.manifoldcf.crawler.connectors.myconnector package? What is > the right approach to provide a web application for our repository > connector? > >
