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
: 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
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
: 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
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
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]
(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
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