Hi, I run org.apache.nutch.searcher.NutchBean to test the searching function. I found it only return the total hits but no hits details or summarys.
I check the hadoop.log found this error: 2010-12-11 10:57:47,752 ERROR searcher.NutchBean - Exception occured while executing search: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: This AttributeSource does not have the attribute 'org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute'. java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: This AttributeSource does not have the attribute 'org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute'. at org.apache.nutch.searcher.FetchedSegments.getSummary(FetchedSegments.java:297) at org.apache.nutch.searcher.NutchBean.getSummary(NutchBean.java:350) at org.apache.nutch.searcher.NutchBean.main(NutchBean.java:415) Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: This AttributeSource does not have the attribute 'org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute'. at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222) at java.util.concurrent.FutureTask.get(FutureTask.java:83) at org.apache.nutch.searcher.FetchedSegments.getSummary(FetchedSegments.java:292) ... 2 more Caused by: java.lang.IllegalArgumentException: This AttributeSource does not have the attribute 'org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute'. at org.apache.lucene.util.AttributeSource.getAttribute(AttributeSource.java:277) at org.apache.nutch.summary.basic.BasicSummarizer.getTokens(BasicSummarizer.java:362) at org.apache.nutch.summary.basic.BasicSummarizer.getSummary(BasicSummarizer.java:134) at org.apache.nutch.searcher.FetchedSegments.getSummary(FetchedSegments.java:263) at org.apache.nutch.searcher.FetchedSegments$SummaryTask.call(FetchedSegments.java:63) at org.apache.nutch.searcher.FetchedSegments$SummaryTask.call(FetchedSegments.java:53) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) How can i fix this? by bupo.jung

