为了方便说明索引创建过程,这里特意用两个文件为例:
文件一:Students should be allowed to go out with their friends, but not allowed to drink beer.
文件二:My friend Jerry went to school to see his students but found them drunk which is not allowed.
结果处的索引文件:
lucene 索引流程整理笔记,布布扣,bubuko.com
原文:http://www.cnblogs.com/o-andy-o/p/3866847.html