[ https://issues.apache.org/jira/browse/SOLR-10059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17581892#comment-17581892 ]
ASF subversion and git services commented on SOLR-10059: -------------------------------------------------------- Commit 03946ee1f585017bd2c3c0c79edd645ef962f8bd in solr's branch refs/heads/main from Christine Poerschke [ https://gitbox.apache.org/repos/asf?p=solr.git;h=03946ee1f58 ] SOLR-10059: add SearchHandlerAppendsCloudTest (#426) > 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 > Assignee: Eric Pugh > Priority: Major > Labels: performance > Attachments: > SOLR-10059-RequestHandlerBase-prepareRequestParams.patch, SOLR-10059_7x.patch > > Time Spent: 4h 50m > Remaining Estimate: 0h > > 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.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org