Re: [htdig] boolean query


Peter Polkinghorne (Peter.Polkinghorne@brunel.ac.uk)
Thu, 11 Mar 1999 15:20:23 +0100


>
> 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,|
| Peter.Polkinghorne@brunel.ac.uk   +44 1895 274000 x2561       UK          |
-----------------------------------------------------------------------------

------------------------------------ To unsubscribe from the htdig mailing list, send a message to htdig@htdig.org containing the single word "unsubscribe" in the SUBJECT of the message.



This archive was generated by hypermail 2.0b3 on Mon Mar 15 1999 - 08:57:46 PST