Jason Tang wrote:
Do anyone working on this issue? If none, I will go on.
I suppose it is not hard to support "indexing locally and searching remotely".

A simple way to implement this would be to change the protocol-file plugin to handle http urls (add protocol-name="http" in plugin.xml), then modify FileResponse.java to optionally accept http urls and convert them to pathnames relative to some root directory. Does that make sense?


Doug

======= At 2005-04-14, 05:16:47 you wrote: =======


Hi all,

sorry to ask the same question on the user mailing list, but I didn't get any answer to my problem.

I have a filesystem with files to index.
-> no problem to index the files.
I want to search them remote via the WAR using Tomcat.
-> no problem by moving the segments to the correct position
When I search now the links to the files have all "file://..."
-> This is does not work remote. :(

My question is now:
Is there a better way to solve this problem than modifying the JSP pages the make a replacement for "file://..." into "http://<server name>/..."?


Preferred solution would be correct links in the index/seg,emts so I can narrow the search suppling part of the URL.
I'm even thinking about indexing on one machine and then move the segments to another machine serving it.
But therefore I have to modify the link the documents as well ...


Any ideas?  Thank you ...




------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nutch-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nutch-developers






-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to