(http://cvs.apache.org/viewcvs/jakarta-lucene-sandbox/contributions/searchbean/).
You may need to tweak it for your particular case and you need to be aware that
it will increase your resources (mem and startup time) significantly ... but the right
combination of index size and sortable fields is attainable. Right now, I use it on a
480M index and have two sortable fields. Setting up the sorting fields adds
significant time to lucene start-up but since I'm embedding lucene inside of
Tomcat, it was a trade-off I could live with.
-Mike.
Nitin Patil wrote:
Hi,
I am using Lucene to index and search simple text documents. The search results contain various columns, such as document id, date, etc. that are retrieved from the "Document" object. I would like to have each of the search columns click-able to provide a sort by that column feature. Does lucene provide a "sort by" feature (directly or programmatically) to accomplish this? Any comments/suggestions more than welcome.
Regards, - Nitin
________________________________________________________________________ Nitin Patil ASTG TACWeb Phone: +1 408-853-8889 Email: [EMAIL PROTECTED] ________________________________________________________________________
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]