The lengthNorm and field level boosting, as you said, are both stored in the norm
. So no, you can't have one without the other.
But you don't actually need field boosting at index time. You can apply it at search time instead, and that way you have more flexibility when you want to tweak the boost level later on.
Not only that, by setting omit_norms
you reduce the amount of data you have to store at index time by quite a lot, so it is to be recommended where appropriate (such as in your case).
Read full article from lucene - Is there a way to remove the calculation of length norms for fields in elastic search? - Stack Overflow
No comments:
Post a Comment