RE: folder path prefix filtering

2008-08-05 Thread Steven A Rowe
Hi Nico, On 08/05/2008 at 9:44 AM, Nico Krijnen wrote: > On 5 aug 2008, at 11:11, Karsten F. wrote: > > Can't you store only the relevant path in an extra lucene > > field and set the maximum of query-terms to e.g. 2048 ? > > @Karsten: We did think about simplifying permissions to just top-level >

Re: folder path prefix filtering

2008-08-05 Thread Nico Krijnen
Thanks for the replies, We'll try the filters then, possibly with cache if required for performance. @Karsten: We did think about simplifying permissions to just top-level folders, which is probably suitable for 80% of our clients. If the filter is too slow we may have to. In that case it

Re: folder path prefix filtering

2008-08-05 Thread Erick Erickson
This situation is pretty much the kind of thing PrefixFilters were written for, so I'd certainly try those first, with or without caching. I was surprised at how fast filters get constructed, so I'd just try it and take a few measurements. Best Erick On Tue, Aug 5, 2008 at 3:40 AM, Nico Krijnen <

Re: folder path prefix filtering

2008-08-05 Thread Karsten F.
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. B