Functions create the relevance score. Solr sorts by a function if it is part of the search string.
On Fri, Jun 11, 2010 at 10:57 AM, Geek Gamer <geek4...@gmail.com> wrote: > Hi , > > I want to reorder the results as per function like > sum(w0*score, w1*field1, w2*field2, w3*filed3,..) > > I am using solr1.4 and it seems it does not support sort by function. > > How can this be achieved > > I tried using > q=(query)^w0 (_val_:field1)^w1 (_val_:field2...)^w2 > > it adds more computations using querynorms > > any suggestions, ideas > > thanks in anticipation > umar > -- Lance Norskog goks...@gmail.com