Erik, Back in September I ran into similar problems and suggested (to the list) a number of changes, some or all of which have, I believe, been incorporated. I've recently made some specific additional changes (regarding scoring, as I recall). At this point I don't recall which of these have been included in the distribution and which have not.
However, since then I've been using SearchBean extensively and, my version at least, works fine for sorting in either ascending or descending date (or relevance) order on whatever field I choose. Please let me know what kind of problems you're having and I'll see if I can help. Regards, Terry ----- Original Message ----- From: "Erik Hatcher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, January 19, 2003 9:34 PM Subject: SearchBean in action? > Are folks using the SearchBean code found in the > contributions/searchbean area of the sandbox? > > I've just spent a while attempting to get an example working with it > and I've ended up having to tweak the code to get it working partially. > First, I encountered a compilation error because of an unhandled > exception, so I fixed that. Next I encountered hard-coded things such > as the Analyzer and the field to sort by in both SearchBean and > HitsIterator. So rather than using SearchBean I just opted for using > the HitsIterator to sort by a field. But its constrained to only do > descending sort order. > > If you are using SearchBean and the related HitsIterator and other bits > to enhance your search results by sorting by a field, care to share > some example code? I'd like for it to be a useful addition to my > searching features, but so far it seems like I'd have to customize it > so much that I might as well adapt the ideas to my own code rather than > use it directly. > > Thanks, > Erik > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
