luyuncheng

Results 54 comments of luyuncheng

> it operates globally. So, setting the instance in one thread, will set it in another thread. @jmazanec15 exactly right, `AuxIndexStructures` is an singleton struct. > So, for instance, here...

> @luyuncheng are you still working on this? Yes, Sorry for the late. i am trying to find a way bypass the `KNNMergeHelper` for protect calling into OpenSearch. and trying...

@jmazanec15 i found a way using reflect, it would get Accessable into `ConcurrentMergeScheduler.MergeThread.class` like following code: https://github.com/opensearch-project/k-NN/blob/952d3fb6a6ebccdcdab12a37b59a5d6eff9df697/src/main/java/org/apache/lucene/index/KNNMergeHelper.java#L15-L32 and call into reflect as following which using to get `org.apache.lucene.index.MergePolicy.OneMerge` in `org.apache.lucene.index.ConcurrentMergeScheduler.MergeThread`...

> Hi @luyuncheng Sorry for delay in response. I looked into this PR and I think the solution looks pretty awesome to me. What would it take to make this...