When coding LUCENE-2919 (PKIndexSplitter), Mike and me had the idea, how to effectively apply filters on the lowest level (before query execution). This is very useful for e.g. security Filters that simply hide some documents. Currently when you apply the filter after searching, lots of useless work was done like scoring filtered documents, iterating term positions (for Phrases),...
This patch will provide a FilterIndexReader subclass (4.0 only, 3.x is too complicated to implement), that hides filtered documents by returning them in getDeletedDocs(). In contrast to LUCENE-2919, the filtering will work on per-segment (without SlowMultiReaderWrapper), so per segment search keeps available and reopening can be done very efficient, as the filter is only calculated on openeing new or changed segments.
This filter should improve use-cases where the filter can be applied one time before all queries (like security filters) on (re-)opening the IndexReader.
分享到:
相关推荐
比较好用的版本,要求jdk1.6 lucene4.0+ikanalyzer2012
Ik中分分词器介绍,可用于lucene4.0
自己做的一些 lucene4.0的 demo 希望能帮助各位 写的不好 亲们 别喷我
简单的lucene4.0样例,包含新增和查询功能,包含lucene4.0jar包,适合jdk1.6。
支持lucene4.0的paoding分词
lucene4.0常用jar包,里面有lucene-analyzers-common-4.0.0.jar,lucene-core-4.0.0.jar,lucene-highlighter-4.0.0.jar,lucene-queryparser-4.0.0.jar
lucene4.0创建索引,删除索引,搜索的一些小demo,分享出来供大家学习。
IK分词 lucene4.0 老版本的分词器 可以性强 网上例子多
应用Lucene4.0版本时,发现用现有的IKAnalyzer2012.jar会有冲突,然后找到官网下载最新的IKAnalyzer2012源码,打包jar后解决
IK Analyzer 2012FF_hf1中文分词,lucene4.0搜索引擎的jar包。
IK Analyzer是一个结合词典分词和文法分词的中文分词开源工具包。它使用了全新的正向迭代最细粒度切分算法。可以结合lucene4.0使用
一个开放源代码的全文检索引擎工具包,做搜索方面使用。
包括lucene .NET4.0&盘古分词 。net可用dll,盘古分词器等
支持lucene4.0、 solr4.0 ,基本可以直接使用, 方便快捷。 与lucene4.0组合测试通过。
盘古分词器的最新版本是.net2.0版本,这里发布的是net4.0下重新编译后的程序集
解决lucene4.0与IKAnalyzer的冲突。解决Exception in thread "main" java.lang.VerifyError: class org.wltea.analyzer.lucene.IKAnalyzer overrides final method tokenStream.(Ljava/lang/String;Ljava/io/Reader;...
与hibernate search相关的 lucenejar包
paoding4.0支持lucene4.0 是修改源码后的可以支持lucene4.0的 除了这个包 需要注意的还需要一个logger包 还需要配置 词库路径 在环境变量中可以配置也可以在 paoding里面的 配置文件中配置 具体亲门 自己研究 如有...
jar包,官方版本,自测可用
jar包,官方版本,自测可用