Re: Solr still gives old data while faceting from the deleted documents

2018-04-13 Thread Erick Erickson
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

Re: Solr still gives old data while faceting from the deleted documents

2018-04-12 Thread girish.vignesh
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:

Re: Solr still gives old data while faceting from the deleted documents

2018-04-12 Thread Shawn Heisey
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