Java Mailing List Archive

http://www.java2.5341.com/

Home » nutch-user.lucene »

How to display more than first NUM_HITS results

Travis Bowen

2008-08-25

Replies: Find Java Web Hosting

Author LoginPost Reply
Sorry if I'm missing something obvious but...

How does one display more than the first page of search results?

Looking at Tom White's tutorial, it only displays the first NUM_HITS
results. I look at the javadocs (pretty sparse) and find
Hits.getHits(start, length) but when I try to access more than the first
page, I get an array index out of bounds exception. Looking at the
NutchBean, I see the search methods only take a numHits param and no
start index param.

Should I be using something other than the "One stop shopping for
search-related functionality" object in favor of something else?
Someone really needs to write up some better docs for this project if
it's going to get more widespread usage.

Thanks,

--
Travis Bowen
Principal Web Developer
Southwest Strings

©2008 java2.5341.com - Jax Systems, LLC, U.S.A.