bookdoc1 = new Document();
System.out.println("开始创建书的Field字段---------->>>>");
//书的编号
Field bookNo = new Field("booknumber", "FB309663004", Field.Store.YES, Field.Index.TOKENIZED);
//书名
Field bookName = new Field("bookName", "钢铁是怎样炼成的", Field.Store.YES, Field.Index.TOKENIZED );
//书的作者
Field anthor = new Field("author", "匿名", Field.Store.YES, Field.Index.TOKENIZED);
//出版日期
Field publishdate = new Field("publishdate", "出版日期", Field.Store.YES, Field.Index.NO);
//描述
Field bookabstract = new Field("abstract", "钢铁是怎样炼成的", Field.Store.NO, Field.Index.TOKENIZED);
//价格
Field price = new Field("price", "25.00", Field.Store.YES, Field.Index.NO);