FAQ
: That works fine if there are some criteria in filterQuery and query.
: But sometimes, the bean I'm passing in will not pass any criteria into
: the filterQuery part. If that's the case, cwf looks like this:
: CachingWrapperFilter(QueryFilter())
...
: will result in no results. If there are no criteria in the filter,
: shouldn't that return all the results based on the query?

No. If you filter a query, the filter defines the super set of all
results you can get back -- if you have a filter that matches nothing,
then you can't get anything back.





-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupjava-user @
categorieslucene
postedDec 8, '06 at 11:49p
activeDec 9, '06 at 8:07a
posts2
users2
websitelucene.apache.org

2 users in discussion

Van Nguyen: 1 post Chris Hostetter: 1 post

People

Translate

site design / logo © 2022 Grokbase