from index 'Contacts/ForList'where Type = 'person'and (boost(search(LastName, 'Elliot'), 1000) or boost(search(LastName, 'Elliot*'), 800))
from index 'Contacts/ForList'where boost(search(LastName, 'Elliot'), 1000) or boost(search(LastName, 'Elliot*'), 800)
--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
order by score() in the query.
By default Lucene returns the scores calculated according to specified boosting although we need to tell it to do the ordering.
Hibernating Rhinos Ltd
Oren Eini l CEO l Mobile: + 972-52-548-6969
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.