Hi David. Yes you can.
Just define a field as a slong type field: <field name="numberField" type="slong" /> It can be used to sort (&sort=numberField desc) or to boost your score (it will depend on the RequestHandler you are going to use). In terms of score which RequestHandler are you planning to use? If using dismax you can define a boost function: recip(rord(numberField),1,1000,1000) I hope it helps. Regards, Daniel Alheiros On 20/6/07 16:47, "David Xiao" <[EMAIL PROTECTED]> wrote: > Hello folks, > > > > I am using solr to index web contents. I want to know is that possible to tell > solr about rank information of contents? > > For example, I give each content an integer number. > > > > And I hope solr take this number into consideration when it generates search > result. (larger number, more priority) > > > > Best Regards, > > David > http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this.