On Tue, 15 Jan 2002, Gilles Detillieux wrote:

> > > 2.  way to override "no server" problem
> > 
> > I'm not quite sure what you mean by this.
> 
> Since 3.1.5, if htdig fails to connect to a server, it sets the "dead
> server" flag and won't try again to contact that server, giving instead a
> bunch of "no server" errors.  In most cases, that's the best thing to do,
> but a number of users expressed a preference for the old way, or something
> more fail-safe like waiting a while and trying that server again later.

Maybe with (yet another new option) max_retries which will count the
retries; if it fails (max_retries is full), then the server is presumed dead.
But you all know what I mean anyway.


> > > 4.  a "match all documents" mechanism in htsearch
> > 
> > This IMHO, is no small feat unless you hack htsearch to totally bypass the
> > parser and htfuzzy phases for some specific query. (As in, if the query is
> > just '*' and nothing else, it will return all documents and then
> > restrict, exclude, etc. But something like 'foo and * not bar" is subject
> > to the normal parsing.)
> > 
> > Again, if this seems like a reasonable workaround, I can write this.

<word> and *  ==  <word>
<word> or  *  ==  *

<word1> and * not <word2> == <word1> not <word2>

Can that be parsed easily?

--jesse
--------------------------------------------------------------------
J. op den Brouw                           Johanna Westerdijkplein 75
Haagse Hogeschool                                  2521 EN  DEN HAAG
Faculty of Engeneering                                   Netherlands
Electrical Engeneering                                +31 70 4458936
-------------------- [EMAIL PROTECTED] --------------------

Linux - because reboots are for hardware changes


_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to