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.
> 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 Lu

folder path prefix filtering

2008-08-05 Thread Nico Krijnen
Hello, Need some help with prefix filtering... We ran into the max clause count problem with our usage of the wildcard query. Essentially what we are trying to do is: One of the fields in our index contains a 'path' representing a file system location. For example: /folder A/subfolder/doc