On Sonntag, 30. Dezember 2007, Dominik Bruhn wrote:

> I know this is the wrong approach and that the right solution should be
> a Filter. But I dont know which filter to use and how.

The simplest approach is probably to wrap your limiting query with this 
class: 
http://lucene.apache.org/java/2_2_0/api/org/apache/lucene/search/QueryWrapperFilter.html

Then use that filter by calling an IndexSearcher.search() method that also 
takes a filter.

Regards
 Daniel

-- 
http://www.danielnaber.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to