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 (Updated) (JIRA)" <ji...@apache.org> on 2012/03/26 00:06:28 UTC
[jira] [Updated] (LUCENE-3919) more thorough testing of analysis
chains
[ https://issues.apache.org/jira/browse/LUCENE-3919?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir updated LUCENE-3919:
--------------------------------
Attachment: LUCENE-3919.patch
really rough initial stab.
first time i ran this it seems like it found a bug:
{noformat}
[junit] Exception from random analyzer: tokenizer=class org.apache.lucene.analysis.core.KeywordTokenizer
[junit] filters=class org.apache.lucene.analysis.cz.CzechStemFilter,class org.apache.lucene.analysis.cjk.CJKWidthFilter
[junit] java.lang.ArrayIndexOutOfBoundsException: -1
[junit] at org.apache.lucene.analysis.cz.CzechStemmer.normalize(CzechStemmer.java:148)
[junit] at org.apache.lucene.analysis.cz.CzechStemmer.stem(CzechStemmer.java:47)
[junit] at org.apache.lucene.analysis.cz.CzechStemFilter.incrementToken(CzechStemFilter.java:52)
[junit] at org.apache.lucene.analysis.cjk.CJKWidthFilter.incrementToken(CJKWidthFilter.java:62)
{noformat}
> more thorough testing of analysis chains
> ----------------------------------------
>
> Key: LUCENE-3919
> URL: https://issues.apache.org/jira/browse/LUCENE-3919
> Project: Lucene - Java
> Issue Type: Task
> Components: modules/analysis
> Affects Versions: 3.6, 4.0
> Reporter: Robert Muir
> Attachments: LUCENE-3919.patch
>
>
> In lucene we essentially test each analysis component separately. we also give some
> good testing to the example Analyzers we provide that combine them.
> But we don't test various combinations that are possible: which is bad because
> it doesnt test possibilities for custom analyzers (especially since lots of solr users
> etc define their own).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org