lucene4.2 java.lang.NullPointerException at org.apache.lucene.analysis.standard.StandardTokenizerIm
最近在学习Lucene时遇到了问题,先上代码:publicclassAnalyzerUtil{
publicvoiddisplayToken(Stringstr,Analyzera){
try{
TokenStreamstream=a.tokenStream("content",newStringReader(str));
//PositionIncrementAttributepia=stre