I was modifying Nutch 0.9 and my following code worked fine in NutchBean class:
MoreLikeThis mlt = new MoreLikeThis (((IndexSearcher) searcher).getIndexReader()); org.apache.lucene.search.Query q = mlt.like (myHits.getHit (0).getIndexDocNo ()); After I upgraded to the nightly build today, I found that getIndexDocNo ( ) doesn't exist anymore in Hit class or anywhere else. It is using unique key instead which I don't know what it means yet. And also, searcher is no longer defined as a private var in NutchBean class. How do I get searcher object inside NutchBean? What should I pass as a parameter into the like ( ) without the index document number? Thanks. -- View this message in context: http://www.nabble.com/getIndexDocNo-%28-%29-doesn%27t-exist-in-Nutch-nightly-build-anymore--tp22302122p22302122.html Sent from the Nutch - User mailing list archive at Nabble.com.
