阅读背景:

如何使用Lucene.net实现自定义过滤器?

来源:互联网 

The code below is from the Lucene In Action book (originally in Java). It's for building a list of 'allowed' documents (from a user permission point of view) to filter search results with. The problem is the termsDocs.Read() method does not accept the 'doc' and 'freq' arrays to be passed by reference, so they're still empty when it comes to setting the bit in the bit array.The code below is from the Lucene In Action boo




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: