]
Adrian Nistor updated ISPN-6506:
--------------------------------
Status: Pull Request Sent (was: Coding In Progress)
Git Pull Request:
Cache the Lucene query instead of re-creating it from the
filter's AST
----------------------------------------------------------------------
Key: ISPN-6506
URL:
https://issues.jboss.org/browse/ISPN-6506
Project: Infinispan
Issue Type: Enhancement
Components: Embedded Querying
Affects Versions: 9.0.0.Alpha1
Reporter: Adrian Nistor
Assignee: Adrian Nistor
Fix For: 9.0.0.Alpha2, 9.0.0.Final
The AST is already cached so most of the parsing effort is skipped for both param and
param-less queries.
A further minor perf improvement can be achieved by caching also the output of the AST to
Lucene transformation phase. This can only be done for queries without parameters.