Hi Bernd,
I guess it is not exposed in Solrj. Maybe for good reason - it is rarely good
to call it. You might better set reclaimDeletesWeight in your merge config and
keep number of deleted docs under control that way.
Regards,
Emir
--
Monitoring - Log Management - Alerting - Anomaly Detection
S
Do not use expungedeletes even if you find a way to call it in the
scenario you're talking about. First of all I think you'll run into
the issue here: https://issues.apache.org/jira/browse/LUCENE-7976
Second it is a very heavy weight operation. It potentially rewrites
_all_ of your index and it so
Hi Emir,
can you point out which commit you are using for expungeDeletes true/false?
My commit has only
commit(String collection, boolean waitFlush, boolean waitSearcher, boolean
softCommit)
Or is expungeDeletes true/false a special combination of the boolean parameters?
Regards, Bernd
Am 04.
Hi Bernd,
When it comes to updating, it does not exist because indexed documents are not
updatable - you can add new document with the same id and old one will be
flagged as deleted. No need to delete explicitly.
When it comes to expungeDeletes - that is a flag that can be set when
committing.
A simple question about solrj (Solr 6.4.2),
how to update documents with expungeDeletes true/false?
In org.apache.solr.client.solrj.SolrClient there are many add,
commit, delete, optimize, ... but no "update".
What is the best way to "update"?
- just "add" the same docid with new content as upda