You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Gary Bone <Ga...@spgmedia.com> on 2006/10/10 12:04:44 UTC
Deleting Pages
Hi,
Does anyone know how to force a page to be deleted. I have run the
WebDBWriter class and removed the page from the database but it still
shows on the search? Further checks using WebDBReader give a 'null'
response when looking for the page.
Most confusing?
Gary
CAUTION - This message may contain privileged and confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error please notify SPG Media Group Plc immediately via email at info@spgmedia.com. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of SPG Media Group PLC
This email has been scanned by SPG's Email Security System.
RE: Deleting Pages
Posted by Howie Wang <ho...@hotmail.com>.
The webdb and the segments are two separate things. The webdb
is basically used by fetcher to keep track of the status of the URL
(like last fetch time, was there an error). The segments contain
the data from the fetches themselves, and also the data's index,
which is used during searches.
So you've deleted the page from the webdb, and now you need
to remove it from the index. You can use the PruneIndexTool
to do this. Here's a link for more info:
http://lucene.apache.org/nutch/apidocs/org/apache/nutch/tools/PruneIndexTool.html
Howie
>Does anyone know how to force a page to be deleted. I have run the
>WebDBWriter class and removed the page from the database but it still
>shows on the search? Further checks using WebDBReader give a 'null'
>response when looking for the page.