ASF subversion and git services commented on LUCENE-9283:

Commit e92beb50a31e428406412fc4b55be4621addded4 in lucene-solr's branch 
refs/heads/branch_8_5 from Alan Woodward
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=e92beb5 ]

LUCENE-9283: Also exclude DelimitedBoostTokenFilter from TestFactories

> DelimitedBoostTokenFilter can fail testRandomChains
> ---------------------------------------------------
>                 Key: LUCENE-9283
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9283
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Major
>             Fix For: master (9.0), 8.6
> DelimitedBoostTokenFilter expects tokens of the form `token` or 
> `token|number` and throws a NumberFormatException if the `number` part can't 
> be parsed.  This can cause test failures when we build random chains and 
> throw random data through them.
> We can either exclude DelimiteBoostTokenFilter when building a random 
> analyzer, or add a flag to ignore badly-formed tokens. I lean towards doing 
> the former, as I don't really want to make leniency the default here.

This message was sent by Atlassian Jira

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to