You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2021/04/18 04:57:00 UTC
[jira] [Commented] (SOLR-15285) all solr request coming in with
expungeDeletes=true
[ https://issues.apache.org/jira/browse/SOLR-15285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17324411#comment-17324411 ]
David Smiley commented on SOLR-15285:
-------------------------------------
It may be sufficient to add a parameter "override" section for the /update handler with expungeDeletes=false. It's not foolproof; it won't work if the payload includes this instruction but in my experience such settings are typically simple parameters.
> all solr request coming in with expungeDeletes=true
> ---------------------------------------------------
>
> Key: SOLR-15285
> URL: https://issues.apache.org/jira/browse/SOLR-15285
> Project: Solr
> Issue Type: Task
> Affects Versions: 6.1
> Reporter: Zeeshan Ahmed
> Priority: Major
>
> We added the following block to solrconfig.xml file so as to turn off optimise for request so as to avoid timeout issues and enhance performance
> {code:java}
> <updateRequestProcessorChain name="ignore-commit-from-client" default="true">
> <processor class="solr.IgnoreCommitOptimizeUpdateProcessorFactory">
> <int name="statusCode">200</int>
> </processor>
> <processor class="solr.LogUpdateProcessorFactory" />
> <processor class="solr.DistributedUpdateProcessorFactory" />
> <processor class="solr.RunUpdateProcessorFactory" />
> </updateRequestProcessorChain>{code}
> However, all request that come in have expungeDelete set to true
> {code:java}
> commit{,optimize=false,openSearcher=true,waitSearcher=false,expungeDeletes=true,softCommit=false,prepareCommit=false}{code}
> We need the config to turn off expungeDelete for requests
> Is there a setting that can be added to solrconfig.xml so that all requests have expungeDeletes=false
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org