> doc.add(new Field("to", > "[EMAIL PROTECTED]", > ... > PrefixQuery pq = new PrefixQuery(new Term("to", > "[EMAIL PROTECTED]"));
Perhaps a typo in the query text - Indexed text: "[EMAIL PROTECTED]" Searched text: "[EMAIL PROTECTED]" The searched text is not a prefix of the indexed one. Regards, Doron --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]