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 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-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 javadoc

Re: Boolean retrieval

2009-07-07 Thread Lukas Michelbacher
Jul 2009, at 17:37, Lukas Michelbacher miche...@ims.uni-stuttgart.de 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 exactly

Re: Boolean retrieval

2009-07-07 Thread mark harwood
From: Lukas Michelbacher mmmasterl...@gmail.com 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, bbb, ... jjj

Re: Boolean retrieval

2009-07-07 Thread Michael McCandless
On Tue, Jul 7, 2009 at 5:39 AM, mark harwoodmarkharw...@yahoo.co.uk 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

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-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 Michelbachermiche...@ims.uni-stuttgart.de wrote: This is about an experiment comparing plain Boolean retrieval

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

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 miche...@ims.uni-stuttgart.de wrote: This is about an experiment comparing plain Boolean retrieval with vector-space-based retrieval. I would like to disable

Re: Boolean retrieval

2009-07-04 Thread Paul Elschot
Michelbacher miche...@ims.uni-stuttgart.de 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 exactly the documents that match a query