lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 王巍巍 <>
Subject hwo to get paged search result
Date Wed, 25 Mar 2009 12:50:49 GMT
I designed a campus ftp search engine. When user enter a keyword and press
the search button, the program  callsthe searching procedure and return the
result in paged style.
However, in current lucene version, I can only call the below method as i
need to filter and sort the result.

int n, Sort<>
The problem comes as in this procedure i has to set the third parameter n
and as a result, when user click the last page link, exception will be
thrown when the total number of search results excesses the *n* i specified
in the program. How can i overcome this problem?

I've posted this problem twice and seen no reply. Could anyone offer a
hand?  Thanks.
王巍巍(Weiwei Wang)
Department of Computer Science
Gulou Campus of Nanjing University
Nanjing, P.R.China, 210093

Mobile: 86-13913310569

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message