It's fixed now in branch_3x! Thanks Tom!
----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: [email protected] > -----Original Message----- > From: Burton-West, Tom [mailto:[email protected]] > Sent: Thursday, November 11, 2010 9:44 PM > To: [email protected] > Cc: [email protected] > 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:[email protected]] > Sent: Thursday, November 11, 2010 2:49 PM > To: [email protected] > 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: [email protected] > > > > -----Original Message----- > > From: Robert Muir [mailto:[email protected]] > > Sent: Thursday, November 11, 2010 8:20 PM > > To: [email protected] > > 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 <[email protected]> > > 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: [email protected] For > > additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
