public Native_Score(String INDEX_STORE_PATH)
{
try{
IndexWriter writer = new IndexWriter(INDEX_STORE_PATH, new StandardAnalyzer(), true);
writer.setUseCompoundFile(false);
//创建3个文档
Document doc1 = new Document();
Document doc2 = new Document();
Document doc3 = new Document();
Field f1 = new Field("bookname", "ab bc", Field.Store.YES, Index.TOKENIZED);
Field f2 = new Field("bookname", "ab bc cd", Field.Store.YES, Index.TOKENIZED);
Field f3 = new Field("bookname", "ab", Field.Store.YES, Index.TOKENIZED);