lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: Antw.: Solr 1.4.1 Analysis console gives error regarding CharTermAttributeImpl that is not in the target
Date Thu, 11 Nov 2010 21:23:43 GMT
It's fixed now in branch_3x!

Thanks Tom!

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de


> -----Original Message-----
> From: Burton-West, Tom [mailto:tburtonw@umich.edu]
> Sent: Thursday, November 11, 2010 9:44 PM
> To: dev@lucene.apache.org
> Cc: uwe@thetaphi.de
> Subject: RE: Antw.: Solr 1.4.1 Analysis console gives error regarding
> CharTermAttributeImpl that is not in the target
> 
> Thanks Uwe,
> 
> I recompiled my filter against revision 1030032 of Lucene/Solr and confirmed
> the same behavior (error message about "CharTermAttributeImpl that is not in
> the target"  Then I applied your patch and recompiled Lucene/Solr.  Your patch
> fixes the problem.  Analysis.jsp now works fine with my filter.
> 
> Opened issue SOLR-2234
> 
> Tom
> 
> -----Original Message-----
> From: Uwe Schindler [mailto:uwe@thetaphi.de]
> Sent: Thursday, November 11, 2010 2:49 PM
> To: dev@lucene.apache.org
> Subject: RE: Antw.: Solr 1.4.1 Analysis console gives error regarding
> CharTermAttributeImpl that is not in the target
> 
> Hi Tom,
> 
> Can you try attached LuSolr patch? This is a problem of the backwards layer for
> CTA/TA coexistence. This is a hack, but ensures that for both attributes always
> use the same implementation class.
> 
> If this fixes your bug can you open issue for 3.x and I will commit?
> 
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
> 
> 
> > -----Original Message-----
> > From: Robert Muir [mailto:rcmuir@gmail.com]
> > Sent: Thursday, November 11, 2010 8:20 PM
> > To: dev@lucene.apache.org
> > Subject: Re: Antw.: Solr 1.4.1 Analysis console gives error regarding
> > CharTermAttributeImpl that is not in the target
> >
> > On Thu, Nov 11, 2010 at 2:05 PM, Burton-West, Tom <tburtonw@umich.edu>
> > wrote:
> > > Sorry about the confusion (my confusion mostly:).   I was actually
> > > using revision 1030032 of Lucene/Solr (see below) with a custom
> > > token filter
> > that does not use CharTermAttribute.  I'll recompile the custom filter
> > against this revision and verify that the analysis.jsp produces the
> > same results in a few minutes.
> > >
> >
> > Thanks Tom, this sounds like a good catch then. From your previous
> > reply, i do think some of the issues discussed in SOLR-2051 could be related.
> >
> > As I mentioned there, this analysis.jsp is not well-behaved: it "cross
> > the tokenstreams", and really I think Uwe's comment at
> > http://s.apache.org/n5 describes the proper solution, where it then is
> > a well- behaved, more accurate representation of what is going on with
> analysis.
> >
> > I think this is why you probably don't have any other problems with
> > your filter, except in this analysis.jsp.
> >
> > But, it would still be good to check that its not a general bug in
> > AttributeSource.copyTo, because if so, someone will hit this problem
> > with SynonymFilter combined with an old TokenStream.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For
> > additional commands, e-mail: dev-help@lucene.apache.org



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


Mime
View raw message