Author: Alex Barkov
Email: [EMAIL PROTECTED]
Message:
> I know this question had been posted before but I just can't find an answer so I'll 
>ask again:
> 
> I'm indexing one forum in www.mysite.com/forum/ ... The initial indexer -a runs 
>fine, although it takes around two hours. Now I want to set up a job to run it more 
>frequently, only adding the urls (messages) that have been added to the directory 
>since the last crawl. Is there a fast way to do this without reindexing the entire 
>forum at a cost of two hours?? I'm using MySQL.
> 


This is to be done in two steps.
The idea is that you should use '-a' key only for index page,
which has links to messages. It's also better to use '-am'
For example that is http://www.mysite.com/forum/

Step 1.

 indexer -am http://www.mysite.com/forum/

This command will force indexer to get this
single page, even if it is not expired yet, 
then to collect links and insert them into
database, as well as to reindex content of this
page. 

Step 2. After step1 just run indexer in usual manner.
All new links will be indexed.

At step2 you can also use "indexer -s0". This will
allow to index only new pages (those with status=0), 
without reindexing old pages which became expired.




Reply: <http://www.mnogosearch.org/board/message.php?id=4423>

___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]

Reply via email to