lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Brusic <>
Subject Omitting term frequencies while preserving positions
Date Mon, 05 Aug 2013 23:41:13 GMT
As the subject says, is it possible to omit the term frequencies for a
field, but still keep positions? Term frequencies are omitted for better
scoring under our model, but positions are required for span queries. Are
the two concepts related? Are they indexed in the same data structure?

One option is to use a custom similarity that ignores term frequencies, but
I was wondering if there was a cleaner solution.



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message