expungeDeletes wont' do the trick for you, it purges documents in
segments with > 10% deleted docs so you'll still have documents.
I'd push back on "the requirement is to show facets with 0 count as
disabled." Why? What use-case is satisfied here? Effectively this is
saying "For my query, show me
mincount will fix this issue for sure. I have tried that but the requirement
is to show facets with 0 count as disabled.
I think I left with only 2 options. Either go with expungeDelets with update
URL or use optimize in a scheduler.
Regards,
Vignesh
--
Sent from: http://lucene.472066.n3.nabb
On 4/12/2018 5:53 AM, girish.vignesh wrote:
Solr gives old data while faceting from old deleted or updated documents.
For example we are doing faceting on name. name changes frequently for our
application. When we index the document after changing the name we get both
old name and new name in th
Solr gives old data while faceting from old deleted or updated documents.
For example we are doing faceting on name. name changes frequently for our
application. When we index the document after changing the name we get both
old name and new name in the search results. After digging more on this I
Solr gives old data while faceting from old deleted or updated documents.
For example we are doing faceting on name. name changes frequently for our
application. When we index the document after changing the name we get both
old name and new name in the search results. After digging more on this I