lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <>
Subject [jira] Commented: (LUCENE-2484) Remove deprecated TermAttribute from tokenattributes and legacy support in indexer
Date Tue, 01 Jun 2010 13:47:42 GMT


Uwe Schindler commented on LUCENE-2484:

So after hours of waiting:
- Lucene Core, Contrib is fine
- Modules fine
- Solr core works
- *Solr carrot2 is broken and this is not fixable!*

Its broken by itsself:
The contrib module for carrot clustering depends on carrot, but carrot itsself depends on
an older version of Lucene! We only have the binary, so we cannot fix it:

java.lang.NoClassDefFoundError: org/apache/lucene/analysis/tokenattributes/TermAttribute
	at org.carrot2.text.analysis.ExtendedWhitespaceTokenizer.&lt;init&gt;(
	at org.carrot2.text.analysis.ExtendedWhitespaceAnalyzer.tokenStream(
	at org.carrot2.text.analysis.ActiveLanguageAnalyzer.tokenStream(
	at org.carrot2.text.preprocessing.Tokenizer.tokenize(
	at org.carrot2.text.preprocessing.PreprocessingPipeline.preprocess(
	at org.carrot2.text.preprocessing.PreprocessingPipeline.preprocess(
	at org.carrot2.clustering.lingo.LingoClusteringAlgorithm.process(
	at org.carrot2.core.ControllerUtils.performProcessing(
	at org.carrot2.core.ControllerUtils.performProcessing(
	at org.carrot2.core.CachingController.processInternal(
	at org.carrot2.core.CachingController.process(
	at org.apache.solr.handler.clustering.carrot2.CarrotClusteringEngine.cluster(
	at org.apache.solr.handler.clustering.ClusteringComponent.process(
	at org.apache.solr.handler.component.SearchHandler.handleRequestBody(
	at org.apache.solr.handler.RequestHandlerBase.handleRequest(
	at org.apache.solr.handler.clustering.ClusteringComponentTest.testComponent(
Caused by: java.lang.ClassNotFoundException: org.apache.lucene.analysis.tokenattributes.TermAttribute
	at Method)
	at java.lang.ClassLoader.loadClass(
	at sun.misc.Launcher$AppClassLoader.loadClass(
	at java.lang.ClassLoader.loadClass(

We cannot move forward in breaking backwards in trunk, so I suggest to disable this contrib
in trunk! We can only support it if, it moves to Lucene/Solr in complete and we have the source
code in solr's SVN.


> Remove deprecated TermAttribute from tokenattributes and legacy support in indexer
> ----------------------------------------------------------------------------------
>                 Key: LUCENE-2484
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Task
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>             Fix For: 4.0
>         Attachments: LUCENE-2484.patch
> The title says it:
> - Remove interface TermAttribute
> - Remove empty fake implementation TermAttributeImpl extends CharTermAttributeImpl
> - Remove methods from CharTermAttributeImpl (and indirect from Token)
> - Remove sophisticated® backwards™ Layer in TermsHash*
> - Remove IAE from NumericTokenStream, if TA is available in AS
> - Fix rest of core tests (TestToken)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message