You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lucenenet.apache.org by Igor Chirokov <ig...@hotmail.com> on 2010/07/21 16:34:54 UTC

Java -Lucene, .Net -Lucene: Score Compare

Hi,

I am trying to understand how is score calculation working.
I created some test , used:
1. Multifield Analyzer : PerFieldAnalyzerWrapper
2. Multifield Parser : MultiFieldQueryParser

Score calculated for Java and .net lucene is different. For Java - Lucene is mach less then for .net Lucene. Used the same index and the same query.
I used Java - Lucene - Version: Version.LUCENE_29; for .Net Lucene - Lucene.Net-2.0-004-11Mar07.

Is it different calculation ?

And another question: where and  how I can grab  latest version .net Lucene source code( Version 2.9 for example) as zip file for rebuild  and test it on my computer.

Thanks,
Igor Ch.

 		 	   		  
_________________________________________________________________
MSN Dating: Find someone special. Start now.
http://go.microsoft.com/?linkid=9734384

RE: Get Analyzer

Posted by Igor Chirokov <ig...@hotmail.com>.
Thanks,Anders

I did it but it's not convenient...
For searching I am using the same Analyzer for corresponded field.

Sincerely,
Igor Chirokov

> From: aly@miracleas.dk
> Date: Sun, 8 Aug 2010 15:09:19 +0200
> Subject: Re: Get Analyzer
> To: lucene-net-user@lucene.apache.org
> 
> No, you need to store the indexing information elsewhere
> 
> Regards,
> Anders Lybecker
> 
> 
> On Wed, Aug 4, 2010 at 3:03 PM, Igor Chirokov <ig...@hotmail.com>wrote:
> 
> >
> > Hi All,
> >
> > I am using Multifield Analyzer : PerFieldAnalyzerWrapper for creating
> > Index.
> > Question: is it possible to get information what kind of
> > Analyzer(KeywordAnalyzer(), StandardAnalyzer() ...) I used for particular
> >  field from created Index ?
> >
> > Thanks
> > Igor Chirokov
> >
 		 	   		  

Re: Get Analyzer

Posted by Anders Lybecker <al...@miracleas.dk>.
No, you need to store the indexing information elsewhere

Regards,
Anders Lybecker


On Wed, Aug 4, 2010 at 3:03 PM, Igor Chirokov <ig...@hotmail.com>wrote:

>
> Hi All,
>
> I am using Multifield Analyzer : PerFieldAnalyzerWrapper for creating
> Index.
> Question: is it possible to get information what kind of
> Analyzer(KeywordAnalyzer(), StandardAnalyzer() ...) I used for particular
>  field from created Index ?
>
> Thanks
> Igor Chirokov
>

Get Analyzer

Posted by Igor Chirokov <ig...@hotmail.com>.
Hi All,

I am using Multifield Analyzer : PerFieldAnalyzerWrapper for creating Index.
Question: is it possible to get information what kind of Analyzer(KeywordAnalyzer(), StandardAnalyzer() ...) I used for particular  field from created Index ?

Thanks
Igor Chirokov
 		 	   		  

RE: Java -Lucene, .Net -Lucene: Score Compare

Posted by Igor Chirokov <ig...@hotmail.com>.
Working the same in the same versions for java & .NET Lucene.

Thanks,
Igor

> From: digydigy@gmail.com
> To: lucene-net-user@lucene.apache.org
> Subject: RE: Java -Lucene, .Net -Lucene: Score Compare
> Date: Thu, 22 Jul 2010 20:02:14 +0300
> 
> You can get the v2.9.2 from here
> https://svn.apache.org/repos/asf/lucene/lucene.net/tags/Lucene.Net_2_9_2/
> using a svn client(such as tortoise svn).
> 
> Please reask if you see any difference between java & .NET (using the same
> versions)
> 
> DIGY
> 
> 
> -----Original Message-----
> From: Igor Chirokov [mailto:igorchirok@hotmail.com] 
> Sent: Wednesday, July 21, 2010 5:35 PM
> To: lucene-net-user@lucene.apache.org
> Subject: Java -Lucene, .Net -Lucene: Score Compare
> 
> 
> Hi,
> 
> I am trying to understand how is score calculation working.
> I created some test , used:
> 1. Multifield Analyzer : PerFieldAnalyzerWrapper
> 2. Multifield Parser : MultiFieldQueryParser
> 
> Score calculated for Java and .net lucene is different. For Java - Lucene is
> mach less then for .net Lucene. Used the same index and the same query.
> I used Java - Lucene - Version: Version.LUCENE_29; for .Net Lucene -
> Lucene.Net-2.0-004-11Mar07.
> 
> Is it different calculation ?
> 
> And another question: where and  how I can grab  latest version .net Lucene
> source code( Version 2.9 for example) as zip file for rebuild  and test it
> on my computer.
> 
> Thanks,
> Igor Ch.
> 
>  		 	   		  
> _________________________________________________________________
> MSN Dating: Find someone special. Start now.
> http://go.microsoft.com/?linkid=9734384
> 
 		 	   		  
_________________________________________________________________
Learn more ways to connect with your buddies now
http://go.microsoft.com/?linkid=9734388

RE: Java -Lucene, .Net -Lucene: Score Compare

Posted by Digy <di...@gmail.com>.
You can get the v2.9.2 from here
https://svn.apache.org/repos/asf/lucene/lucene.net/tags/Lucene.Net_2_9_2/
using a svn client(such as tortoise svn).

Please reask if you see any difference between java & .NET (using the same
versions)

DIGY


-----Original Message-----
From: Igor Chirokov [mailto:igorchirok@hotmail.com] 
Sent: Wednesday, July 21, 2010 5:35 PM
To: lucene-net-user@lucene.apache.org
Subject: Java -Lucene, .Net -Lucene: Score Compare


Hi,

I am trying to understand how is score calculation working.
I created some test , used:
1. Multifield Analyzer : PerFieldAnalyzerWrapper
2. Multifield Parser : MultiFieldQueryParser

Score calculated for Java and .net lucene is different. For Java - Lucene is
mach less then for .net Lucene. Used the same index and the same query.
I used Java - Lucene - Version: Version.LUCENE_29; for .Net Lucene -
Lucene.Net-2.0-004-11Mar07.

Is it different calculation ?

And another question: where and  how I can grab  latest version .net Lucene
source code( Version 2.9 for example) as zip file for rebuild  and test it
on my computer.

Thanks,
Igor Ch.

 		 	   		  
_________________________________________________________________
MSN Dating: Find someone special. Start now.
http://go.microsoft.com/?linkid=9734384