You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2017/10/28 21:12:00 UTC

[jira] [Updated] (LUCENE-8021) Add AssertingSimilarity

     [ https://issues.apache.org/jira/browse/LUCENE-8021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir updated LUCENE-8021:
--------------------------------
    Attachment: LUCENE-8021.patch

here is a quick stab. Its kinda wimpy (tests pass) but at the same time we can improve the checks later. There is some TODOs for oddities/missing logic.

> Add AssertingSimilarity
> -----------------------
>
>                 Key: LUCENE-8021
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8021
>             Project: Lucene - Core
>          Issue Type: Test
>            Reporter: Robert Muir
>         Attachments: LUCENE-8021.patch
>
>
> We can use this to bounds check the incoming parameters and find issues in tests.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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