[JBoss JIRA] (ISPN-6506) Cache the Lucene query instead of re-creating it from the filter's AST
by Adrian Nistor (JIRA)
Adrian Nistor created ISPN-6506:
-----------------------------------
Summary: 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
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.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 12 months
[JBoss JIRA] (ISPN-6504) Try to use the index even if the query matches all entries
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/ISPN-6504?page=com.atlassian.jira.plugin.... ]
Work on ISPN-6504 started by Adrian Nistor.
-------------------------------------------
> Try to use the index even if the query matches all entries
> ----------------------------------------------------------
>
> Key: ISPN-6504
> URL: https://issues.jboss.org/browse/ISPN-6504
> Project: Infinispan
> Issue Type: Enhancement
> Components: Embedded Querying, Remote Querying
> Affects Versions: 8.2.1.Final, 9.0.0.Alpha1
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Fix For: 9.0.0.Alpha2, 8.2.2.Final
>
>
> A DSL query with no filter clauses will match all entries. In this case we currently run a non-indexed query even if the cache is indexed.
> Performance could be improved a bit by using the index if the query has sorting or projections. This should be treated as a special case.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 12 months
[JBoss JIRA] (ISPN-6504) Try to use the index even if the query matches all entries
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/ISPN-6504?page=com.atlassian.jira.plugin.... ]
Adrian Nistor updated ISPN-6504:
--------------------------------
Status: Open (was: New)
> Try to use the index even if the query matches all entries
> ----------------------------------------------------------
>
> Key: ISPN-6504
> URL: https://issues.jboss.org/browse/ISPN-6504
> Project: Infinispan
> Issue Type: Enhancement
> Components: Embedded Querying, Remote Querying
> Affects Versions: 8.2.1.Final, 9.0.0.Alpha1
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Fix For: 9.0.0.Alpha2, 8.2.2.Final
>
>
> A DSL query with no filter clauses will match all entries. In this case we currently run a non-indexed query even if the cache is indexed.
> Performance could be improved a bit by using the index if the query has sorting or projections. This should be treated as a special case.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 12 months
[JBoss JIRA] (ISPN-6504) Try to use the index even if the query matches all entries
by Adrian Nistor (JIRA)
Adrian Nistor created ISPN-6504:
-----------------------------------
Summary: Try to use the index even if the query matches all entries
Key: ISPN-6504
URL: https://issues.jboss.org/browse/ISPN-6504
Project: Infinispan
Issue Type: Enhancement
Components: Embedded Querying, Remote Querying
Affects Versions: 9.0.0.Alpha1, 8.2.1.Final
Reporter: Adrian Nistor
Assignee: Adrian Nistor
Fix For: 9.0.0.Alpha2, 8.2.2.Final
A DSL query with no filter clauses will match all entries. In this case we currently run a non-indexed query even if the cache is indexed.
Performance could be improved a bit by using the index if the query has sorting or projections. This should be treated as a special case.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 12 months