Boolean retrieval

2009-07-04 Thread Lukas Michelbacher
and 0 otherwise? Lukas -- Lukas Michelbacher Institute for Natural Language Processing Universit??t Stuttgart email: miche...@ims.uni-stuttgart.de - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional comman

Re: Boolean retrieval

2009-07-07 Thread Lukas Michelbacher
booleanfilter in contrib/queries. It can be wrapped in a > constantScoreQuery > > > > On 4 Jul 2009, at 17:37, Lukas Michelbacher > wrote: > > > This is about an experiment comparing plain Boolean retrieval with > vector-space-based retrieval. > > I would like

Re: Boolean retrieval

2009-07-07 Thread Lukas Michelbacher
> Seems a long-winded way of producing a BooleanFilter but I guess you are > trying to work with user input in the form of query strings. Yes I am. I had the same impression but I couldn't figure out a more straightforward way. > The bug in your code is that clause.getQuery().getString() is not