[ 
https://issues.apache.org/jira/browse/SOLR-14728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-14728:
----------------------------------
    Description: A simple optimization can be put in place to massively improve 
join performance when the TopLevelJoinQuery is performing a self join (same 
core) and the *to* and *from* fields are the same field. In this scenario the 
top level doc values ordinals can be used directly as a filter avoiding the 
most expensive part of the join which is the bytes ref reconciliation between 
the *to* and *from* fields.   (was: A simple optimization that can be put in 
place to massively improve join performance when the TopLevelJoinQuery is 
performing a self join (same core) and the *to* and *from* fields are the same 
field. In this scenario the top level doc values ordinals can be used directly 
as a filter avoiding the most expensive part of the join which is the bytes ref 
reconciliation between the *to* and *from* fields. )

> Add self join optimization to the TopLevelJoinQuery
> ---------------------------------------------------
>
>                 Key: SOLR-14728
>                 URL: https://issues.apache.org/jira/browse/SOLR-14728
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Joel Bernstein
>            Priority: Major
>
> A simple optimization can be put in place to massively improve join 
> performance when the TopLevelJoinQuery is performing a self join (same core) 
> and the *to* and *from* fields are the same field. In this scenario the top 
> level doc values ordinals can be used directly as a filter avoiding the most 
> expensive part of the join which is the bytes ref reconciliation between the 
> *to* and *from* fields. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to