: content field, and return results only if either title or content
: matches ALL the words searched. So searching for "miracle cure for
: cancer" might yield:
:
: (+title:miracle +title:cure +title:for +title:cancer)^5.0
: (+content:miracle +content:cure +content:for +content:cancer)
first off, a
-Mensaje original-
De: Chun Wei Ho [mailto:[EMAIL PROTECTED]
Enviado el: miƩrcoles, 21 de junio de 2006 16:49
Para: java-user@lucene.apache.org
Asunto: Giving weight to partial matches
I am performing searches on an index that includes a title field and a content
field, and return results only if
I am performing searches on an index that includes a title field and a
content field, and return results only if either title or content
matches ALL the words searched. So searching for "miracle cure for
cancer" might yield:
(+title:miracle +title:cure +title:for +title:cancer)^5.0
(+content:mira