[
https://issues.apache.org/jira/browse/OAK-3147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tommaso Teofili reopened OAK-3147:
----------------------------------
reopening as I've noticed Collapsing query parser's settings can be leveraged
to allow:
- not indexing path_collapsed for nodes that are not descendants of jcr:content
nodes
- better query time performance
- more precise collapsing on jcr:content nodes based on min(depth)
> Make it possible to collapse results under jcr:content nodes
> ------------------------------------------------------------
>
> Key: OAK-3147
> URL: https://issues.apache.org/jira/browse/OAK-3147
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: solr
> Reporter: Tommaso Teofili
> Assignee: Tommaso Teofili
> Fix For: 1.2.4, 1.3.4, 1.0.18
>
>
> In some use cases a lot of search results live in descendants of jcr:content
> nodes although the caller is only interested in those jcr:content nodes as
> results (that post filtering being applied using primary types or other
> constraints) so that the Solr query could be optimized by applying Solr's
> Collapse query parser in order to collapse such documents and therefore
> allowing huge improvements in performance, especially on the query engine not
> having to filter e.g. 90% of the nodes returned by the index.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)