Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Deleted documents show up in completion suggester #7761
Indexed the docs.
If the number of docs is less then everything works fine but when the number increases, the completion suggester shows false result. The test case can be found at
Should the status of this bug perhaps be reflected more clearly in the completion suggester's documentation? It currently reads
referenced this issue
Mar 24, 2015
It is absolutely a bug @s1monw Per your docs on completion suggesters:
DELETES do NOT work on suggesters even with this optimize operation. This suggestion does not in-fact solve the problem, so the bug is that it is NOT possible to delete documents without destroying the entire index.
If you are suggesting that you support a DELETE operation on suggester indexes but that the DELETE operation is never expected to work, then you need to demote this entire feature to 'Experimental' or 'Alpha' rather than a production capability.
The documentation is lacking at best and deceiving at worst. I would suggest re-evaluating this issue for proper prioritization.
The downside of the implementation (which me and @mikemccand basically wrote years ago) is that it's a very optimized data-structure and the enhancements that we are shipping in the next major version will resolve this issue.
Believe me I see a lot of people that try to be loud on issues like this just like you try to. That's fine, I can't change that. What I can change is to let you know that it doesn't help, it is counter productive. You don't like the progress over perfection approach we are practicing! This feature has already as it is provided huge improvements do large scale suggest applications, it's not perfect as documented.
Again, you may be heard in your environment when you are loud, in this environment you may just be shown wrong and we move on.