Dear piler-users,
I'm sure all of you have stumbled the default 1000 hits per query limit,
ie. you can see the first 1000 hits, even if there are more matching
emails.
A brief summary on how the search works. When a user hits the search
button,
then the gui fetches 1000 results, and serves them as a paged list
showing
20-30-50 emails at a time. You might ask why fetching 1000 results if
you
display only n x 10 hits? Because you need the ids of all emails to
enable
them for download them as a zip (or pdf) file.
The trouble is that this 1000 limit affects the possibility to page
through
the 1000th hit.
I believe that the correct solution would be to query only 1 page of
emails
from sphinx (eg. 20-30-50), and let the users page to the last hit, even
there are 167298 hits for the query.
However you can't just create a zip file to contain 167298 emails unless
you run piler on skynet. So we have to either limit the download
button's
scope to the current page. Or tie the first 1000 hits to the button no
matter how many hits you have.
I'd like you to think about the problem, and tell your opinion about it.
Janos