lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven A Rowe" <sar...@syr.edu>
Subject RE: folder path prefix filtering
Date Tue, 05 Aug 2008 14:50:29 GMT
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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message