Comment

Comment by jonas21

This is the commit containing the code that Elastic says was copied by Search Guard:

https://github.com/floragunncom/search-guard-enterprise-modu...

In particular, the change to getLiveDocs(): https://github.com/floragunncom/search-guard-enterprise-modu...

and numDocs(): https://github.com/floragunncom/search-guard-enterprise-modu...

EDIT:

At least in the case of numDocs(), both Elastic and Search Guard's implementations seem to be based on this bit of Apache-licensed code from Lucene (or perhaps this is just a common pattern for counting live documents?):

https://github.com/apache/lucene-solr/blob/branch_6_3/lucene...

parent jonas21 7 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton