Does a "sort=field5+desc" on the query param not work? - Jon
On Apr 29, 2010, at 9:32 AM, Doddamani, Prakash wrote: > Hi, > > > > I am using the boost factor as below > > <str name="qf"> > > field1^20.0 field2^5 field3^2.5 field4^.5 > > </str> > > > > Where it searches first in field1 then field1 and so on > > > > Is there a way, where I can make some documents very low priority so > that they come at the end? > > > > Scenario : > > > > <doc> > > <int name=" field1">aaa</int> > > <str name=" field2">bbb</str> > > <str name=" field3">cccc</str> > > <str name=" field4">dddd</str> > > <str name=" field5">1</str> > > <str name=" field6">eeee</str> > > <date name=" field7">2010-04-29T12:40:05.589Z</date> > > </doc> > > > > I want all the documents which have field5=1 come last and documents > which have field5=0 should come first while searching. > > Any advise is greatly appreciated. > > > > Thanks > > Prakash >