Think, or continue to write, because, too bored, daughter-in-law son also has half an hour to work.
In front of the procrastination with three articles to do bedding, this article began to seriously.
First, I want to add a few links
Http://www.cnblogs.com/xing901022/p/3933675.html
This article is too dick, write very good, the other PPT also suggested that we look carefully, very good, very stick.
Well, next, what should be done, should write code! The code should be written! The code should be written! The important thing to say three times.
It's better to say more than to get up, isn't there a saying? Talk is expensive,show me the code. Right.
Where do you say that?
First of all, I use the latest version before today 6.5.1, shit, just see maven when they actually uploaded the version of 6.6.0, not important, poor estimate, it seems that the United States of the Big brothers are also very hard ah, others are so diao, still in the effort, we, alas. Forget it, keep pretending.
This time, put the code, No. First MAVEN configuration:
<project xmlns= "http://maven.apache.org/POM/4.0.0" xmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance"xsi:schemalocation= "http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" > <modelversion>4.0.0 </modelVersion> <groupId>com.muyi.lucene</groupId> <artifactid>mavenlucene6</ artifactid> <version>0.0.1-SNAPSHOT</version> <packaging>jar</packaging> <name>m Avenlucene</name> <url>http://maven.apache.org</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </prope rties> <dependencies> <dependency> <groupId>org.apache.lucene</groupId> <artifactId>lucene-core</artifactId> <version>6.5.1</version> </depe ndency> <dependency> <groupId>org.apache.lucene</groupId> <artifactid >lucene-highlighter</artifactId> <version>6.5.1</version> </dependency> <dependency> <groupId>org.apache.lucene</groupId> <artifactid>lucene-analy zers-common</artifactid> <version>6.5.1</version> </dependency> <depen Dency> <groupId>org.apache.lucene</groupId> <artifactid>lucene-memory</artif Actid> <version>6.5.1</version> </dependency> <dependency> <groupid>org.apach E.lucene</groupid> <artifactId>lucene-queryparser</artifactId> <version>6.5. 1</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope> ;test</scope> </dependency> <dependency> <groupid>net.sourceforge.jexcela Pi</groupid> <artifactId>jxl</artifactId> <version>2.6.12</version> </dependency> <dependency> <groupId>org.apache.poi</groupId> < ;artifactid>poi</artifactid> <version>3.9</version> </dependency> < Dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-scratchpad</artifactId> <version>3.2-FINAL</version> </dependency> <dependency> <groupid>co M.janeluo</groupid> <artifactId>ikanalyzer</artifactId> <version>2012_u6< /version> </dependency> <dependency> <groupid>org.apache.lucene</groupid& Gt <artifactId>lucene-analyzers-smartcn</artifactId> <version>6.5.1</version> </ dependency> <dependency> <groupId>org.apache.lucene</groupId> <artifa Ctid>lucene-backward-codecs</artifactid> <version>6.5.1</version> </DEPENDENCY&G T </dependencies></project>
No comments, yes, the key I don't know what to write Ah, ikanalyzer this is the IK word breaker, this coordinate is found in the Baidu experience, LUCENE-ANALYZERS-SMARTCN This is also Chinese word breaker, the other is JXL and poi bag, Anyway, what I'm writing is that I need so much reliance.
Then, we will start coding, so tired, write tomorrow.
Lucene Personal Insights (ii.)