Hi,

I am not sure if i understand completely but i suppose you'd need to
retrieve the score field per document by adding &fl=score as parameter.
This will return the score per document based on your query. If you then
use the maxScore result as base, you can then calculate what is 100%,
80% etc.

Hope this helps.


Cheers,

-  
Markus Jelsma                  Buyways B.V.             Tel. 050-3118123
Technisch Architect            Friesestraatweg 215c     Fax. 050-3118124
http://www.buyways.nl          9743 AD Groningen        KvK  01074105


On Tue, 2009-06-30 at 17:06 +0530, Sushan Rungta wrote:

> Please assist me in making a query in lucene whereby I shall see the
> result with:
> 
> 1. 100% exact match
> 2. 80% match
> 3. 60% match.
> 
> My query string will have minimum number of 100 characters and it may go
> up by 10000 characters.
> 
> regards,
> 
> Sushan Rungta
> Mob: +91-9312098968
> 

Reply via email to