add term filter toString

This commit is contained in:
kimchy 2010-10-28 23:18:24 +02:00
parent e31cbb5267
commit 7082593166
1 changed files with 4 additions and 0 deletions

View File

@ -76,4 +76,8 @@ public class TermFilter extends Filter {
public int hashCode() {
return term != null ? term.hashCode() : 0;
}
@Override public String toString() {
return term.field() + ":" + term.text();
}
}