From 12736bbad6b4e5432329f860ea71e20285bfe993 Mon Sep 17 00:00:00 2001 From: Hyunjoo Kim Date: Thu, 9 Mar 2017 14:55:01 -0500 Subject: [PATCH] cleanup debbugging message --- .../elasticsearch/index/analysis/PhoneTokenizer.java | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/main/java/org/elasticsearch/index/analysis/PhoneTokenizer.java b/src/main/java/org/elasticsearch/index/analysis/PhoneTokenizer.java index 1f17fad..e246db5 100644 --- a/src/main/java/org/elasticsearch/index/analysis/PhoneTokenizer.java +++ b/src/main/java/org/elasticsearch/index/analysis/PhoneTokenizer.java @@ -100,15 +100,6 @@ private void generateTokens() { try { // ZZ is the generic "I don't know the country code" region. Google's libphone library will try to // infer it. - //>>>>>>>>>>>>>>test - int indexOfPhoneContext = number.indexOf(";phone-context="); - if (indexOfPhoneContext > 0) { - int phoneContextStart = indexOfPhoneContext + ";phone-context=".length(); - if (number.length() <= phoneContextStart) { - System.out.println(">>>test number = "+number+", phoneContextStart= "+phoneContextStart+", number len= "+number.length()); - } - } - //<<<<<<<<<<<<<< numberProto = phoneUtil.parse(number, "ZZ"); if (numberProto != null) { // Libphone likes it! @@ -168,4 +159,4 @@ public final void reset() throws IOException { this.stringToTokenize = null; clearAttributes(); } -} \ No newline at end of file +}