You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Michael Wechner <mi...@wyona.com> on 2022/11/23 09:52:42 UTC

The current default similarity implementation of Lucene is BM25, right?

Hi

On the Lucene FAQ there is no mentioning re tf-idf or bm25 and I would 
like to add some notes, but to be sure I don't write anything wrong I 
would like to ask

whether the current default similarity implementation of Lucene is 
really BM25, right?

as described at

https://opensourceconnections.com/blog/2015/10/16/bm25-the-next-generation-of-lucene-relevation/

Thanks

Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: The current default similarity implementation of Lucene is BM25, right?

Posted by Michael Wechner <mi...@wyona.com>.
I have enhanced the FAQ

https://cwiki.apache.org/confluence/display/LUCENE/LuceneFAQ#LuceneFAQ-Whatisthedefaultrelevance/similarityimplementationofLucene?

Hope it is ok like this :-)

Thanks

Michael

Am 23.11.22 um 10:58 schrieb Michael Wechner:
> cool, thanks!
>
> Am 23.11.22 um 10:55 schrieb Adrien Grand:
>> This is correct. See IndexSearcher#getDefaultSimilarity().
>>
>> On Wed, Nov 23, 2022 at 10:53 AM Michael Wechner
>> <mi...@wyona.com> wrote:
>>> Hi
>>>
>>> On the Lucene FAQ there is no mentioning re tf-idf or bm25 and I would
>>> like to add some notes, but to be sure I don't write anything wrong I
>>> would like to ask
>>>
>>> whether the current default similarity implementation of Lucene is
>>> really BM25, right?
>>>
>>> as described at
>>>
>>> https://opensourceconnections.com/blog/2015/10/16/bm25-the-next-generation-of-lucene-relevation/ 
>>>
>>>
>>> Thanks
>>>
>>> Michael
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: The current default similarity implementation of Lucene is BM25, right?

Posted by Michael Wechner <mi...@wyona.com>.
cool, thanks!

Am 23.11.22 um 10:55 schrieb Adrien Grand:
> This is correct. See IndexSearcher#getDefaultSimilarity().
>
> On Wed, Nov 23, 2022 at 10:53 AM Michael Wechner
> <mi...@wyona.com> wrote:
>> Hi
>>
>> On the Lucene FAQ there is no mentioning re tf-idf or bm25 and I would
>> like to add some notes, but to be sure I don't write anything wrong I
>> would like to ask
>>
>> whether the current default similarity implementation of Lucene is
>> really BM25, right?
>>
>> as described at
>>
>> https://opensourceconnections.com/blog/2015/10/16/bm25-the-next-generation-of-lucene-relevation/
>>
>> Thanks
>>
>> Michael
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: The current default similarity implementation of Lucene is BM25, right?

Posted by Adrien Grand <jp...@gmail.com>.
This is correct. See IndexSearcher#getDefaultSimilarity().

On Wed, Nov 23, 2022 at 10:53 AM Michael Wechner
<mi...@wyona.com> wrote:
>
> Hi
>
> On the Lucene FAQ there is no mentioning re tf-idf or bm25 and I would
> like to add some notes, but to be sure I don't write anything wrong I
> would like to ask
>
> whether the current default similarity implementation of Lucene is
> really BM25, right?
>
> as described at
>
> https://opensourceconnections.com/blog/2015/10/16/bm25-the-next-generation-of-lucene-relevation/
>
> Thanks
>
> Michael
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>


-- 
Adrien

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org