[ https://issues.apache.org/jira/browse/SOLR-10059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Torsten Bøgh Köster updated SOLR-10059: --------------------------------------- Attachment: SOLR-10059_7x.patch > In SolrCloud, every fq added via <lst name="appends"> is computed twice. > ------------------------------------------------------------------------ > > Key: SOLR-10059 > URL: https://issues.apache.org/jira/browse/SOLR-10059 > Project: Solr > Issue Type: Bug > Components: SolrCloud > Affects Versions: 6.4 > Reporter: Marc Morissette > Priority: Major > Labels: performance > Attachments: SOLR-10059_7x.patch > > > While researching another issue, I noticed that parameters appended to a > query via SearchHandler's <lst name="appends"> are added to the query twice > in SolrCloud: once on the aggregator and again on the shard. > The FacetComponent corrects this automatically by removing duplicates. Field > queries added in this fashion are however computed twice and that hinders > performance on filter queries that aren't simple bitsets such as those > produced by the CollapsingQueryParser. > To reproduce the issue, simply test this handler on a large enough > collection, then replace "appends" with "defaults". You'll notice significant > performance improvements. > {code} > <requestHandler name="/myHandler" class="solr.SearchHandler"> > <lst name="appends"> > <str name="fq">{!collapse field=routingKey hint=top_fc}</str> > </lst> > </requestHandler> > {code} -- 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