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

Reply via email to