lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karsten F." <>
Subject Re: folder path prefix filtering
Date Tue, 05 Aug 2008 09:11:48 GMT

Hi Nico Krijnen,

I think it is ok, to store a filter for each user-session im memory.
And I think that a cached filter is the correct approach for permissions.
(extra memory usage = one bit for each user and each document)

Hopefully someone with more experience will also answer your question.

But I want to ask the obvious question:

Is your permission-policy really on each file, or only on the top-most
Can't you store only the relevant path in an extra lucene field and set the
maximum of query-terms to e.g. 2048 ?
Best regards

Nico Krijnen-2 wrote:
> Hello,
> Need some help with prefix filtering...
> After searching the web we found some alternative methods, for example  
> by using a PrefixFilter wrapped in a CachingWrapperFilter instead of a  
> query. Before we start implementing I'd like to check if anyone here  
> may have some more experience with queries like this or may have a  
> better suggestion on how to approach this?
> Kind regards,
> Nico Krijnen

View this message in context:
Sent from the Lucene - Java Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message