add term filter toString
This commit is contained in:
parent
e31cbb5267
commit
7082593166
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue