Hi Jonathan,

>-----Original Message-----
>From: Alexander Aristov [mailto:[email protected]]
>Sent: Friday, January 28, 2011 7:37 AM
>To: [email protected]; [email protected]
>Subject: Re: Restarting Tomcat after a crawl.
>
>Hi
>
>Which Nutch version are you using? If you use old Nutch which might work
>stand-along then yes, you need to restart Tomcat in order to initialize
>new
>index otherwise some functionality will not work.
>
>But if you are using a current version and use solr as indexer then you
>don't need to restart Tomcat.
>
>For old Nutch I wrote code (in NutchBean) which reinitialized index and
>eliminated necessity of restarting but it was a year ago.

Working code based on Alexander's idea can be found here:

http://www.atnf.csiro.au/computing/software/arch/

See arch.jsp. If using OpenSearch interface, OpenSearchServlet should also be 
modified. See Arch OpenSearchServlet for example.

>
>Best Regards
>Alexander Aristov
>
>
>On 27 January 2011 21:29, Jonathan Oulds <[email protected]>
>wrote:
>
>> Hello there,
>>
>> This is my first foray into managing a search engine so please bear
>with
>> me.  I am trying to index all our in house documentation that we
>generate
>> during development.  I am trying Nutch on an Ubuntu server using
>Tomcat to
>> serve the results.
>>
>> In the process of building our indexes I have noticed that I need to
>> restart Tomcat after a crawl for it to properly respond to search
>queries.
>>  Is this the expected behaviour?
>>
>> Jonathan.
>>
>>

Reply via email to