Kevin Watters created SOLR-8532:
-----------------------------------

             Summary: Optimize GraphQuery when maxDepth is set
                 Key: SOLR-8532
                 URL: https://issues.apache.org/jira/browse/SOLR-8532
             Project: Solr
          Issue Type: Bug
            Reporter: Kevin Watters


the current graph query implementation always collects edges.  When a maxDepth 
is specified, there is an obvious optimization to not collect edges at the 
maxDepth level.  

In addition there are some other memory optimizations that I'd like to merge 
in.  I have an updated version that includes the above optimization, in 
addition, there are some memory optimizations that can be applied if returnRoot 
!= false.  In that, It doesn't need to hold on to the original docset that 
matched the root nodes of the query.  

I will be posting the patch in the next few days. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to