Why not stick to lucene score for each document then building your own? The easiest way of getting the relevance score for each document is to add the "debugQuery=true" parameter to your request handler.
Cheers Avlesh On Mon, Aug 17, 2009 at 12:32 PM, Sushan Rungta <s...@clickindia.com> wrote: > Kindly guide me that how shall I configure solr lucene with the below kind > of requirements: > > The query is "abc" > > Documents are: > > a) abc > b) abcd > c) xyz ab c mno > d) ab > > I require the score for each of the above mentioned documents with the > above mentioned query to be displayed as: > > For document (a) 100% (Computation: abc/abc) > For document (b) 75% (Computation: abc/abcd) > For document (c) 33% (Computation: abc/xyz ab c mno) > For document (d) 75% (Computation: abc/ab, where document is found with > complete match) > > regards, > > Sushan Rungta > >