nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrzej Bialecki (JIRA)" <j...@apache.org>
Subject [jira] Commented: (NUTCH-610) Can't Update or modify an index while web gui is running
Date Mon, 11 Feb 2008 19:01:39 GMT

    [ https://issues.apache.org/jira/browse/NUTCH-610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567754#action_12567754
] 

Andrzej Bialecki  commented on NUTCH-610:
-----------------------------------------

Based on your description (the patch is hard to read due to unrelated whitespace changes),
this is not the right solution. Creating a Searcher is a heavy operation, and should be done
as rarely as possible, otherwise this will cause a dramatic performance hit.

For DistributedSearch there is already a solution (see NUTCH-581), a similar solution could
be implemented for the local searcher (or individual search servers locally), i.e. define
a "magic" file name that causes the server to reload its indexes. Or implement an additional
RPC call to do the same.

> Can't Update or modify an index while web gui is running
> --------------------------------------------------------
>
>                 Key: NUTCH-610
>                 URL: https://issues.apache.org/jira/browse/NUTCH-610
>             Project: Nutch
>          Issue Type: Improvement
>          Components: searcher, web gui
>    Affects Versions: 0.9.0
>            Reporter: Ciminera Frederic
>         Attachments: NutchBeanNoLock.patch
>
>
> When the search web application is started a NutchBean is created and initializes its
searcher on the index files (and also a FetchedSegment on segments).
> This index searcher (and also FetchedSegment) is holding a lock on the files on disk
that prevent the index to be updated or modified.
> It would be nice to be able to update an index without having to restart the web server.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message