I've been running into a similar question myself a while ago. What I could imagine are company A, company B and company C. All want to be able to have "their own" search-engine. At the same time there might be a "special" search-engine needed that crawls content from both company A and B but not C. I think that's where your suggestion comes into play, right? With the indexname. a) How would you "extend" your indexes by one field before merging them? is there a small tool to add a field to an index? b) Do you always have to merge the indexes, or could you use some feature from the "distributed" nutch to search in multiple indexes? I just think about that because it would allow you to use multiple maybe huge indexes that could all be updated separately and without having to merge them again.
Another point I have understood from the original question: How would it be possible to have an OpenSearch-interface for multiple indexes running on one single Tomcat-instance. I think the author asked whether you could/would install separate copies at the same time with differeent searcher.dir-settings in their nutch-site.xml. With your suggestion: I understand that a plugin similar to "query-more" could be written to allow providing a search for "indexName" (as you suggested) as well, right? With this, would it also be possible to ask for "indexName=A or B but not C"? Stefan Stefan Groschupf wrote: > I'm not sure what you are planing to do, but you can just switch a > symbolic link on your hdd driven by a cronjob to switch between index on > a given time. > May be you need to touch the web.xml to restart the searcher. > If you try to search in different kind of indexes at the same time, I > suggest to merge the indexes and have a kind keyfield for each of the > indexes. > For example add a field to each of your indexes names "indexName" and > put A, B and C as value into it. > Than you can merge your index. During runtime you just need to have a > queryfilter that extend a indexName:A or indexName:B to the query string. > > Does this somehow help to solve your problem? > Stefan > > Am 23.05.2006 um 15:26 schrieb TJ Roberts: > >> I have five different indexes each with their own special >> configuration. I would like to be able to switch between the >> different indexes dynamically on a single instance of nutch running on >> jakarta-tomcat. Is this possible, or do I have to run five instances >> of nutch, one for each index? ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Nutch-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nutch-general
