@Test public void testEncodeForStandardTokenizer() { final String result = SolrUtil.encodeForStandardTokenizer("*****@*****.**"); assertEquals(result, "a 1 2c foo.com"); }
@Test public void testEncodeForUAX29URLEmailTokenizer() { final String result = SolrUtil.encodeForUAX29URLEmailTokenizer("*****@*****.**"); assertEquals(result, "*****@*****.**"); }