On Fri, 22 Jul 2005, Manuel Lemos wrote:

> > (notice the trailing '-'). Making this work wasn't obvious, but I had a
> > bit of help from the list, and it's all working for me now.
> 
> hummm... I had the impression from a message posted in this list that 
> when you do incremental indexing, HtDig will still traverse all pages 
> but just performs HEAD requests to verify whether other pages were 
> updated. Is this what happens or I misunderstood the point of this?

  It does exactly that unless you give it the -m switch, at which point it 
just adds/updates the pages you specify.
 
> Another thing that confuses me about the example above is the parameter 
> that follows the -m switch. If it is supposed to read from STDIN, why 
> foo and not just - ?

  I'll have to read the code to see why, looks like a command-line parsing 
problem.

> Other than that, if I want to update existing index database files, 
> letting the users search the current databases while htdig is finishe, 
> adding -a switch to the htdig command line will work ok whe just 
> updating a few URLs as you suggest?

  The 'alt work files' command line option is another way to do what you 
described above (with the -m switch).

> Should I follow htdig command with the usual htmerge and htfuzzy command 
> calls as in a full reindex?

  Htmerge is only necessary when you are merging two databases... the 
above scenario doesn't need it.

> If this works ok like this, that will solve my problem as I need. If so, 
> I plan to update my HTDIG PHP interface class and release a new version 
> soon for the benefit of all that use HTDIG with PHP.
> 
> http://www.phpclasses.org/htdiginterface

  There is a 'libhtdig' & 'libhtdigphp' directories in the 3.2b6 snapshot 
which would enable you to directly call htdig search functions without a 
PHP wrapper.

Thanks

-- 
Neal Richter
Knowledgebase Developer
RightNow Technologies, Inc.
Customer Service for Every Web Site
Office: 406-522-1485




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
ht://Dig Developer mailing list:
htdig-dev@lists.sourceforge.net
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to