Hi,
Is there any way to pre-build rewritten queries and cache them somewhere.
When I have a set of queries which is used very frequently I would get
significant boost (10-20% of CPU wasted) when I can skip rewriting (for
example by caching rewritten queries).
Thank you for any suggestions.
On Mon
Hi,
Thank you Uwe. I see mostly ConstantScoreQuery, BooleanQuery and
FilteredQuery. Maybe it is quite cheap for MI but I execute quite many
queries on it and I was looking for optimizations.
--
Paweł
On Mon, Jun 30, 2014 at 3:01 PM, Uwe Schindler wrote:
> Hi,
>
> Queries have to be rewritten,
Hi,
Queries have to be rewritten, this has nothing to do with scoring. What type of
queries are you seeing this? Wildcard or text ranges are expensive, there is no
way around, but for MemoryIndex (I assume you mean this class), this should be
quite cheap.
-
Uwe Schindler
H.-H.-Meier-Allee