Re: best (beagle-query) syntax options

On Sat, 2005-08-06 at 18:53 +0200, Sean Carlos wrote:
> I've installed Beagle 0.0.12 on Fedora Core 4 and am very pleased with 
> the results.   I am wondering if advanced queries are supported in 
> best.  For example, boolean operators, phrase grouping, word exclusion, 
> word exclusion is a certain context, such as a directory path....   If 
> there is already documentation on this that I missed, please point me in 
> the right direction.

I'm going to answer your question for the query language that we support
in current CVS, which we'll soon be releasing as 0.0.13.

And-queries are now the default.  So querying 'foo bar' searches for
documents matching both foo and bar.

You can group phrases with double-quotes.  So querying '"foo bar" baz'
searches for documents containing the phrase foo bar and also baz.

You can exclude terms by putting a minus sign in front.  So 'foo -bar'
matches documents containing foo and not bar.

If you want to do an or-query, put an all-caps OR between the terms.  So
'foo OR bar baz'  will find documents containing baz, and also either
foo or bar.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]