Re: Sorting based on a selling rate

2006-08-31 Thread John Pailet
gt; : > : Any sample code exemple ? > > I suggest you start by looking at the javadocs for BooleanQuery. > > > > -Hoss > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED

Re: Sorting based on a selling rate

2006-08-30 Thread Chris Hostetter
: I don't know what is the best way: that depends on your needs ... if Selling rate changes very infrequently, or if you are dealing with teh sell rate for lots of books per query then i'd put it in your index ... if it's constantly in flux and you only care about the sell rate of one or two book

Re: Sorting based on a selling rate

2006-08-30 Thread John Pailet
you want the sell rate to be compared with with the textual relevancy of > the query term. > > > > -Hoss > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this messa

Re: Sorting based on a selling rate

2006-08-29 Thread Chris Hostetter
: Ok, for the sort object, but my problem is I don't know haox to retrieve (or : store) information of the sell rate of the products (the sell rate deponds : on the QUERY ! The sort is different for each queries.) : : I imagine to connect to the DB and get sell rate of products for this : specific

Re: Sorting based on a selling rate

2006-08-29 Thread John Pailet
quot; object. > > > -Hoss > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Sorting-based-on-a-selling-rate-tf2175860.html#a6

Re: Sorting based on a selling rate

2006-08-28 Thread Chris Hostetter
Sorting on an integer field can be done using any of the Searcher.search methods which take a "Sort" object. -Hoss - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Sorting based on a selling rate

2006-08-28 Thread Dejan Nenov
(affiliated with safaribooksonline) -Original Message- From: John Pailet [mailto:[EMAIL PROTECTED] Sent: Monday, August 28, 2006 1:10 AM To: java-user@lucene.apache.org Subject: Sorting based on a selling rate I want to implement a specific search based on a selling rate. Let me explain

Sorting based on a selling rate

2006-08-28 Thread John Pailet
the selling rate (for a specific query) Must I developp a specifiq handler after the basic Lucene search and sort it programmatically, or is it possible to implement a mechanism at Index or search time ? Thank you for your help and sorry for my bad english ;-) John -- View this message in context