Jake Mannix a écrit :
Gabriel,
You can make this search much more efficient as follows: say that you have
a method
public BooleanQuery createQuery(Collection allowedUUIDs);
that works as you describe. Then you can easily create a useful reusable
filter as follows:
Filter filter = new Ca
Gabriel,
You can make this search much more efficient as follows: say that you have
a method
public BooleanQuery createQuery(Collection allowedUUIDs);
that works as you describe. Then you can easily create a useful reusable
filter as follows:
Filter filter = new CachingWrapperFilter(new
Q
h t a écrit :
I guess you can implement createBitSet() more effciently by using
Filer,but not BooleanQuery
Hi,
thanks for advice, but did you mean Filter or Filer? And even if I
should use a Filter, I don't really understand how to replace the
Boolean query :(
The boolean query is already very
I guess you can implement createBitSet() more effciently by using
Filer,but not BooleanQuery
2008/2/25, Gabriel Landais <[EMAIL PROTECTED]>:
>
> Gabriel Landais a écrit :
>
> > How to create a Filter for a field in Collection?
> > First, split Collection in Collection with
> > BooleanQuery.maxCl
Gabriel Landais a écrit :
How to create a Filter for a field in Collection?
First, split Collection in Collection with
BooleanQuery.maxClauseCount items maximum in each collection.
For each collection :
create a BooleanQuery with a TermQuery for each String.
perform a search with a HitCollect
Hello,
we have chosen to use Lucene as the metadata database for a project.
Everything works great, from indexing to multi-threading search.
Also, we have chosen to split storage and security. It works great,
except when we come to filtering.
I have understood that Filter should set bits on docu