Re: Boolean retrieval

2009-07-14 Thread tsuraan
> http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc/all/index.html > > Koji Thanks! - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org

Re: Boolean retrieval

2009-07-13 Thread Koji Sekiguchi
tsuraan wrote: Make that "Collector" (new as of 2.9). HitCollector is the old (deprecated as of 2.9) way, which always pre-computed the score of each hit and passed the score to the collect method. Where can I find docs for 2.9? Do I just have to check out the lucene trunk and run javado

Re: Boolean retrieval

2009-07-13 Thread tsuraan
> Make that "Collector" (new as of 2.9). > > HitCollector is the old (deprecated as of 2.9) way, which always > pre-computed the score of each hit and passed the score to the collect > method. Where can I find docs for 2.9? Do I just have to check out the lucene trunk and run javadoc there?

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

Re: Boolean retrieval

2009-07-07 Thread Michael McCandless
On Tue, Jul 7, 2009 at 5:39 AM, mark harwood wrote: > Given the requirement is to ignore scoring I would recommend (as someone else > suggested) looking at the IndexSearch.search method that takes a HitCollector > and simply accumulate all results, regardless of score. Make that "Collector" (ne

Re: Boolean retrieval

2009-07-07 Thread mark harwood
al Message From: Lukas Michelbacher To: java-user@lucene.apache.org Sent: Tuesday, 7 July, 2009 9:53:24 Subject: Re: Boolean retrieval To test my Boolean queries, I have a small test collection where each document contains one of 1024 possible combinations of the strings "aaa", "

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-05 Thread Michael McCandless
As of 2.9 (not yet released) the new Collector API allows you to skip scoring entirely and just collect the doc IDs matching the query. Mike On Sat, Jul 4, 2009 at 12:37 PM, Lukas Michelbacher wrote: > > This is about an experiment comparing plain Boolean retrieval with > vector-sp

Re: Boolean retrieval

2009-07-04 Thread Paul Elschot
2009, at 17:37, Lukas Michelbacher > wrote: > > > This is about an experiment comparing plain Boolean retrieval with > vector-space-based retrieval. > > I would like to disable all of Lucene's scoring mechanisms and just > run a true Boolean query that returns exact

Re: Boolean retrieval

2009-07-04 Thread Mark Harwood
Check out 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 to disable all of Lucene's sc

Boolean retrieval

2009-07-04 Thread Lukas Michelbacher
This is about an experiment comparing plain Boolean retrieval with vector-space-based retrieval. I would like to disable all of Lucene's scoring mechanisms and just run a true Boolean query that returns exactly the documents that match a query specified in Boolean syntax (OR, AND, NOT