Re: CharacterUtils is removed from lucene-analyzers-common >6.1
Thanks for pointing out the java.lang.Character. I did find the existence of org.apache.lucene.analysis.CharacterUtils, but I was not able to find the needed methods in it. Sean On 12/15/16, 8:58 PM, "Shawn Heisey"wrote: On 12/15/2016 6:20 PM, Xie, Sean wrote: > We have implemented some customized filter/tokenizer, that is using > org.apache.lucene.analysis.util.CharacterUtils. After upgrading to > Solr 6.3, the class is no longer available. Is there any reason the > utility class is removed? This is not really a good question for this list. It would be more at home on the java-user mailing list for Lucene. With a little bit of research, I was able to determine that this class moved. It is now: org.apache.lucene.analysis.CharacterUtils Some of the functionality that used to be in the old CharacterUtils is available in java.lang.Character -- part of Java itself. Thanks, Shawn Confidentiality Notice:: This email, including attachments, may include non-public, proprietary, confidential or legally privileged information. If you are not an intended recipient or an authorized agent of an intended recipient, you are hereby notified that any dissemination, distribution or copying of the information contained in or transmitted with this e-mail is unauthorized and strictly prohibited. If you have received this email in error, please notify the sender by replying to this message and permanently delete this e-mail, its attachments, and any copies of it immediately. You should not retain, copy or use this e-mail or any attachment for any purpose, nor disclose all or any part of the contents to any other person. Thank you.
Re: CharacterUtils is removed from lucene-analyzers-common >6.1
On 12/15/2016 6:20 PM, Xie, Sean wrote: > We have implemented some customized filter/tokenizer, that is using > org.apache.lucene.analysis.util.CharacterUtils. After upgrading to > Solr 6.3, the class is no longer available. Is there any reason the > utility class is removed? This is not really a good question for this list. It would be more at home on the java-user mailing list for Lucene. With a little bit of research, I was able to determine that this class moved. It is now: org.apache.lucene.analysis.CharacterUtils Some of the functionality that used to be in the old CharacterUtils is available in java.lang.Character -- part of Java itself. Thanks, Shawn
CharacterUtils is removed from lucene-analyzers-common >6.1
Dear user group, We have implemented some customized filter/tokenizer, that is using org.apache.lucene.analysis.util.CharacterUtils. After upgrading to Solr 6.3, the class is no longer available. Is there any reason the utility class is removed? What I had to do is copy the class implementation our class lib as a workaround. Any other way to deal with it? Thanks Sean Confidentiality Notice:: This email, including attachments, may include non-public, proprietary, confidential or legally privileged information. If you are not an intended recipient or an authorized agent of an intended recipient, you are hereby notified that any dissemination, distribution or copying of the information contained in or transmitted with this e-mail is unauthorized and strictly prohibited. If you have received this email in error, please notify the sender by replying to this message and permanently delete this e-mail, its attachments, and any copies of it immediately. You should not retain, copy or use this e-mail or any attachment for any purpose, nor disclose all or any part of the contents to any other person. Thank you.