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
> folders, which is probably suitable for 80% of our clients. If the
> filter is too slow we may have to. In that case it gets a lot simpler:
> we can add an extra field for what we call "zone" and use just a term
> query, no need for a prefix or wildcard anymor, and thus no more max
> clause count errors.

Are aware that BooleanQuery.setMaxClauseCount() will raise the max clause count 
for Wildcard/PrefixQuery's?:

<http://lucene.apache.org/java/2_3_2/api/org/apache/lucene/search/BooleanQuery.html#setMaxClauseCount(int)>

Steve

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

Reply via email to