Hi,

an example. We have 2 records with this data in the same field
(description):

1: Lufthutze vor Kühler Bj 62-65, DS
2: Kühler HY im
Austausch, Altteilpfand 250 Euro

A search with the parameters
'description:Kühler' does provide this debug:

2.3234584 = (MATCH)
weight(description:kühler in 4053) [DefaultSimilarity], result of:

2.3234584 = fieldWeight in 4053, product of:
 1.0 = tf(freq=1.0), with
freq of:
 1.0 = termFreq=1.0
 6.195889 = idf(docFreq=69, maxDocs=12637)

0.375 = fieldNorm(doc=4053)
</str>
 <str name="16946">
2.3234584 =
(MATCH) weight(description:kühler in 5729) [DefaultSimilarity], result
of:
 2.3234584 = fieldWeight in 5729, product of:
 1.0 = tf(freq=1.0),
with freq of:
 1.0 = termFreq=1.0
 6.195889 = idf(docFreq=69,
maxDocs=12637)
 0.375 = fieldNorm(doc=5729)

As you can see, both get
the exact same score. However, we would like to rank the second document
higher, on the basis that the search term occurs further to the left of
the field.

Is there a component/setting that can do that? 
 

Reply via email to