: H1:"text in H1 font"
: H2:"text in H2 font"
: content:"all the text"
:
: The problem is that query of a type
: +(H1:xyz)
: is getting scored with the termFreq of xyz in the H1 field whereas I want
: it be scored using the termFreq of xyz in the entire document (i.e.
: content field)
so
Hoss,
> so why not query for "+(content:xyz)" .. or is the problem that you only
> want to get back docs with xyz in an H1, but you want the score based on
> the whole doc?
That is correct. I want to score documents which match +(H1:xyz) higher
than those which match +(H2:xyz) but the tf and idf
Hi developers,
I am indexing HTML documents in lucene as:
H1:"text in H1 font"
H2:"text in H2 font"
...
H6:"text in H6 font"
content:"all the text"
The problem is that query of a type
+(H1:xyz)
is getting scored with the termFreq of xyz in the H1 field whereas I want
it be scored using t