lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aneuryzma <patrick.divia...@gmail.com>
Subject Lucene: define custom similarity measures for specific fields
Date Mon, 28 Feb 2011 16:59:35 GMT
My indexed documents contains some numerical fields. When I perform a query
using numerical values in such fields I need to use my own similarity
formula.

How can I integrate a similarity measure for specific numerical fields in my
query and documents ?

e.g.

    <doc>
    <title>...</title>
    <latitude>32484329</latitude>
    </doc>
    
    <query>
    <title>...</title>
    <latitude>23552456</latitude>
    </query>

thanks

-- 
View this message in context: http://lucene.472066.n3.nabble.com/Lucene-define-custom-similarity-measures-for-specific-fields-tp2596470p2596470.html
Sent from the Lucene - General mailing list archive at Nabble.com.

Mime
View raw message