Re: comparing lucene scores across queries

2011-03-29 Thread Patrick Diviacco
hey Uwe, so from your last answer, I understand I'm done.. no need to do anything, I can already compare the queries. However there is actually a misunderstanding: my booleanqueries have variable number of boolean clauses because the fields are fixed but the terms per field are not. So, for exampl

RE: comparing lucene scores across queries

2011-03-29 Thread Uwe Schindler
> thanks for your reply. I thought I've solved the issue according to Uwe, the > queries without coord function were reasonably comparable, but now you > actually reopened it. > > So, I need to be sure I'm making them comparable and I would like to ask the > following. > > My BooleanQueries have

Re: comparing lucene scores across queries

2011-03-29 Thread Patrick Diviacco
hey Hoss, thanks for your reply. I thought I've solved the issue according to Uwe, the queries without coord function were reasonably comparable, but now you actually reopened it. So, I need to be sure I'm making them comparable and I would like to ask the following. My BooleanQueries have simil

Re: comparing lucene scores across queries

2011-03-28 Thread Chris Hostetter
: I see, well if you say the norm isn't a problem for my case, I will just : disable the coord factor by initializing BooleanQuery(true); and I should be : done. querynorm hsouldn't be a problem (since your booleanqueries all have hte same structure, and odn't use query boosts ... i assume) but

Re: comparing lucene scores across queries

2011-03-28 Thread Patrick Diviacco
age- > > From: Patrick Diviacco [mailto:patrick.divia...@gmail.com] > > Sent: Monday, March 28, 2011 11:39 AM > > To: java-user@lucene.apache.org > > Subject: Re: comparing lucene scores across queries > > > > ok thanks, I will pass well I dunno how to verify it.

RE: comparing lucene scores across queries

2011-03-28 Thread Uwe Schindler
trick.divia...@gmail.com] > Sent: Monday, March 28, 2011 11:39 AM > To: java-user@lucene.apache.org > Subject: Re: comparing lucene scores across queries > > ok thanks, I will pass well I dunno how to verify it. Even if I try then I get some > scores, but I dunno if comparing them is relia

Re: comparing lucene scores across queries

2011-03-28 Thread Patrick Diviacco
> > Uwe > > - > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: u...@thetaphi.de > > > > -Original Message- > > From: Patrick Diviacco [mailto:patrick.divia...@gmail.com] > > Sent: Monday, March 28, 2

RE: comparing lucene scores across queries

2011-03-28 Thread Uwe Schindler
h 28, 2011 10:49 AM > To: java-user@lucene.apache.org > Subject: Re: comparing lucene scores across queries > > One more thing, instead of extending the BooleanQuery class to remove the > coord factor, can I also extend the Similarity class to do it ? > > Still the other questi

Re: comparing lucene scores across queries

2011-03-28 Thread Patrick Diviacco
www.thetaphi.de >> eMail: u...@thetaphi.de >> >> >> > -Original Message- >> > From: Patrick Diviacco [mailto:patrick.divia...@gmail.com] >> > Sent: Monday, March 28, 2011 10:09 AM >> > To: java-user@lucene.apache.org >> > Subject: Re: c

Re: comparing lucene scores across queries

2011-03-28 Thread Patrick Diviacco
r > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: u...@thetaphi.de > > > > -Original Message- > > From: Patrick Diviacco [mailto:patrick.divia...@gmail.com] > > Sent: Monday, March 28, 2011 10:09 AM > > To: java-user@lucene.apa

RE: comparing lucene scores across queries

2011-03-28 Thread Uwe Schindler
t: Monday, March 28, 2011 10:09 AM > To: java-user@lucene.apache.org > Subject: Re: comparing lucene scores across queries > > Hi, thanks for reply. > > Yeah, I've read the Similarity class documentation several times, but I need > some tip. > > My queries are Boo

Re: comparing lucene scores across queries

2011-03-28 Thread Patrick Diviacco
Hi, thanks for reply. Yeah, I've read the Similarity class documentation several times, but I need some tip. My queries are BooleanQueries but they always have the same structure (the same structure of the docs, they are actually docs from collection): 3 fields. What if I simplify the similarity

RE: comparing lucene scores across queries

2011-03-28 Thread Uwe Schindler
No, scores are in general not comparable between different queries. The problem lies in many things: - Each query has a norm factor that makes it more compareable if they are sub clauses of a BooleanQuery. But you are right, this norm factor should be the same. - Some queries like FuzzyQuery rely