[
https://issues.apache.org/jira/browse/LUCENE-8015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrien Grand updated LUCENE-8015:
---------------------------------
Attachment: LUCENE-8015.patch
If we are fine with removing support for {{NoAfterEffect}}, maybe we could
change the contract of AfterEffect to return the product of the after effect
with (1+tfn), which has the nice property of not depending on tfn for both B
and L. It makes the internal API less nice but has the benefit of keeping the
basic model and after effect plugged in separately, similarly to the Terrier
API.
The attached patch implements this idea and removes after effects BE, D and P,
which I couldn't fix to produce scores that do not decrease when tfn increases.
Tests pass for all combinations of the DFRSimilarity with this patch.
> TestBasicModelIne.testRandomScoring failure
> -------------------------------------------
>
> Key: LUCENE-8015
> URL: https://issues.apache.org/jira/browse/LUCENE-8015
> Project: Lucene - Core
> Issue Type: Task
> Reporter: Adrien Grand
> Attachments: LUCENE-8015-test.patch, LUCENE-8015.patch,
> LUCENE-8015_test_fangs.patch
>
>
> reproduce with: ant test -Dtestcase=TestBasicModelIne
> -Dtests.method=testRandomScoring -Dtests.seed=86E85958B1183E93
> -Dtests.slow=true -Dtests.locale=vi-VN -Dtests.timezone=Pacific/Tongatapu
> -Dtests.asserts=true -Dtests.file.encoding=UTF8
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]