Hi,

in 6.2 it moved to Lucene core: 
https://lucene.apache.org/core/6_5_0/core/org/apache/lucene/analysis/CharacterUtils.html

The getInstance method is no longer there, because there was for long time only 
one useable instance available (the other one got deprecated) - it was quasi a 
singleton. When we moved it to core, the singleton was converted to a utility 
class with only static methods.

Uwe

-----
Uwe Schindler
Achterdiek 19, D-28357 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de

> -----Original Message-----
> From: danasa [mailto:dan...@il.ibm.com]
> Sent: Monday, April 24, 2017 1:11 PM
> To: java-user@lucene.apache.org
> Subject: CharacterUtils can't use getInstance method in Lucene 6.5.0
> 
> Hi, I'm upgrading my code to Lucene 6.5.0 and I have a problem using the
> static method CharacterUtils .getInstance(), which is not recognized
> anymore.
> I didn't see any changes regarding this class in the change log but in the
> other hand I didn't find the JavaDoc of CharacterUtils after version 6.1.0.
> Does anyone knows what the problem could be?
> Thanks!
> 
> 
> 
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/CharacterUtils-can-t-use-getInstance-
> method-in-Lucene-6-5-0-tp4331569.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org


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

Reply via email to