Chris M. Hostetter created SOLR-15079:
-----------------------------------------

             Summary: Block Collapse (faster collapse code when groups are 
co-located via Block Join style nested doc indexing)
                 Key: SOLR-15079
                 URL: https://issues.apache.org/jira/browse/SOLR-15079
             Project: Solr
          Issue Type: New Feature
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Chris M. Hostetter
            Assignee: Chris M. Hostetter


A while back, JoelB had an idea for an optimized version of of the logic in the 
CollapsingQParserPlugin to take advantage of collapsing on fields where the 
user could knows that every doc with the same collapseKey were contiguous in 
the index - for example collapsing on the {{_root_}} field.

Joel whipped up an initial PoC patch internally at lucidworks that only dealt 
with some limited cases (string field collapsing w/o any nulls, using default 
group head selection) to explain the idea, but other priorities prevented him 
from doing thorough benchmarking or flesh it out into "production ready" code.

I took Joel's original PoC and fleshed it out with unit tests, fixed some bugs, 
and did some benchmarking against large indexes - the results look really good.

I've since then beefed the code up more to include collapsing on numeric 
fields, and added support for all group head selector types, as well as adding 
support for {{nullPolicy=expand}}.



--
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