Re: best (beagle-query) syntax options

I submitted a patch for keyword queries in best (you know .. searching
for album/artist/author etc)
but then the query API(???) changed. Its wont be difficult to make a
new patch with the new changes (and enable AND,OR,NOT style queries)
but I am just waiting and watching for the query classes to get
settled :-) so that I dont have to redo them.

PS: I think the previous reply should be added to the wiki.

On 8/18/05, Jon Trowbridge <trow novell com> wrote:
> 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.
> -J
> _______________________________________________
> Dashboard-hackers mailing list
> Dashboard-hackers gnome org

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