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 folders? 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 Karsten 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: http://www.nabble.com/folder-path-prefix-filtering-tp18826094p18827325.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]