lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vikas Gupta <>
Subject Re: Customizing termFreq
Date Sun, 12 Dec 2004 08:43:35 GMT

> 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 computation for xyz
should be based on the entire text and not limited to H1 or H2 fields

> if that's the case, then construct a Filter with the requirement of
> (H1:xyz) and make youre query (content:xyz)

I will take a look at this. Thanks a lot for your prompt response.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message