new QueryFilter("strAttr").eq("attrValue");
new QueryFilter("intAttr").gt(42);
...
This could be used, for example, with a {@link RangeQuery} on a suitablyformatted date field to implement date filtering. One could re-use a single QueryFilter that matches, e.g., only documents modified within the last week. The QueryFilter and RangeQuery would only need to be reconstructed once per day. @version $Id: QueryFilter.java,v 1.4 2003/09/16 12:52:10 otis Exp $
A query filter that allows user to filter results in a complex query
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|