Thanks for all your help.
I used PrefixFilter, ChainedFilter, CachingWrapperFilter, ConstantScoreQuery
and the search speed has been dramatically improved. I am just doing wildcard
search like abc*.
It used to give me OOM problem with WildcardQuery. Will I get the same
problem with
Well, depending on what you mean by wildcard, a prefixfilter isn't
necessarily what you want. If wildcard means abc*, then prefixfilter is
right. If it means ab*cd?fg, a prefix filter isn't useful unless you want to
do some fancy indexing.
Think about writing your own filter. Wrap it in a Constan
hi Vasu, how about using ChainedFilter(yourPrefixFilters[],
ChainedFilter.AND)?
vasu shah <[EMAIL PROTECTED]> wrote on 16/10/2006 17:50:27:
> Hi,
>
> I have have multiple fields that I need to search on. All these
> fields need to support wildcard search. I am ANDing these search
> fields using Bo
Hi,
I have have multiple fields that I need to search on. All these fields need to
support wildcard search. I am ANDing these search fields using BooleanQuery.
There is no need for score in my search.
How do I implement these. I have seen PrefixFilter and it sounds promising. But
then how do I