You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Rob Pettengill <ro...@earthlink.net> on 2005/07/25 23:41:04 UTC
Re: hosting multiple independent searches - was: where to pull indexed files?
Doing multiple independent indexes with a single bean and
differentiating based on field metadata seems very awkward. In many
cases you would want a different appearance for the search form for
each specialized search.
If you want to host multiple independent searches of different index
sets, with the minimum resources, I would expect the following
approach to work:
Create multiple search.jsp pages each of which instantiates is own
NutchBean which is initailized with a different location for the
segments directory.
Will this work or are there threading issues that force the use of
multiple jsp containers?
;rob
On 2005, Jul 24, at 8:40 PM, blackwater dev wrote:
> So there is no way to set up different databases? I mean if I crawl a
> series of web pages and put them one place then crawl a series of job
> webplaces and put them in another folder, how can I let the web user
> click a button and search either the general web pages or the specific
> job web sites? To do this I would somehow be able to tell tomcat
> where to get the folder from within the jsp.
>
> Thanks!
>
> On 7/24/05, Feng (Michael) Ji <fj...@yahoo.com> wrote:
>
>>
>> I think tomcat doesn't do indexing at all;
>>
>> just follow the tutorial under doc in Nutch home;
>>
>> after getting your segments, starting tomcat at the
>> same level will give the tomcat direction where to
>> find SE indexed data;
>>
>> Hope that helps,
>>
>> Michael,
>>
>> --- blackwater dev <bl...@gmail.com> wrote:
>>
>>
>>> Forgive me if this is a dumb question but how can I
>>> tell nutch where
>>> to pull the files for the index? I am just getting
>>> exceptions now
>>> when I do a search. How does the code under tomcat
>>> know where I pull
>>> the files from the crawl?
>>>
>>>
>>> Thanks!
>>>
>>>
>>
>>
>> __________________________________________________
>> Do You Yahoo!?
>> Tired of spam? Yahoo! Mail has the best spam protection around
>> http://mail.yahoo.com
>>
>