> 
> At 5:42 AM -0500 3/11/99, Cody Kwok wrote:
> >Hi , I'm just wondering if someone can enlighten me on boolean
> >searches.  I can't translate an altavista query with
> >required and optional keywords into a boolean query,  e.g. in
> >"+linux +intel pc" linux and intel are required but pc is
> >optional.
> 
> "(linux and intel) or pc"
> 
> As it says on http://www.htdig.org/TODO.html, we'd like to add Alta-Vista
> style parsing as well.
> 
> 
> -Geoff Hutchison
> Williams Students Online
> http://wso.williams.edu/

Sorry but this is not quite right - if pc is optional - then the query should be:

(linux and intel and pc) or (linux and intel)

(although unless there is some weighting trickery involved why not: linux and intel)

-- 
-----------------------------------------------------------------------------
| Peter Polkinghorne, Computer Centre, Brunel University, Uxbridge, UB8 3PH,|
| [EMAIL PROTECTED]   +44 1895 274000 x2561       UK          |
-----------------------------------------------------------------------------


------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.

Reply via email to