自定义 Lucene HitCollector C#
有谁有与 Lucene 自定义命中收集器的实现相关的 C# 示例代码吗?
我正在尝试从索引中获取按文档类型排列的点击摘要。我可以迭代点击对象,但考虑到潜在的点击次数,我试图避免这种开销。
我找到了一个使用 Java 的示例,但在 C# 中实现时遇到困难,
一如既往,任何指针都会乐于助人
Does anyone have any C# sample code relating to the implementation of a Lucene Custom Hit Collector.
I am trying to get a summary of hits by document type from my indexes. I could iterate through the hits object but given the potential number of hits I am trying to avoid this overhead.
I have found an example using Java but am having difficulties in implementing in C#
eg. Lucene - using the HitCollector
As always any pointers would be helpful
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我自己也遇到了问题,所以我查看了源中的一个收集器并对其进行了修改,希望它有所帮助
}
I had problems with this myself so I looked at one of the collectors in the source and modified it, hope it helps
}