On 6/8/06, Fabio Confalonieri <[EMAIL PROTECTED]> wrote:
Ok at last I tried the easy way so, when I find a particular predefined
"undefined-value" in a filter or facet, I convert the query to parse to:

   "type:ad AND -" +field+":[* TO *]"

"type:ad" matches all my documents, the other type I have is "facets"
 (many thanks for the unbound range trick).

I cannot see any particular slowliness (but I'm testing with 50.000 docs
now) perhaps thanks to Solr ConstantScoreRangeQueries conversion,
should I worry with bigger numbers, say 300.000 docs ?

Provided you have the memory for the number  of facets you are using,
the filterCache should handle any slowness problem.

There are optimizations that could be done to speed up getting the
DocSets (filters) for simple queries, but it hasn't been a priority
given that we operate off the filter cache so much.

-Yonik

Reply via email to