On Wed, Dec 15, 2010 at 3:09 AM, Jan Høydahl / Cominvent <jan....@cominvent.com> wrote: > Any way to disable TF/IDF normalization without also disabling positions? >
see Similarity.tf(float) and Similarity.tf(int) if you want to change this for both terms and phrases just override Similarity.tf(float), since by default Similarity.tf(int) delegates to that. otherwise, override both. of course the big limitation being you cant customize Similarity per-field yet.