If you calculate the value using the formula, you get norm("quick brown fox") = 1 / √3 = 0.57735
However, this would be way to wasteful to store this value in the index. So Lucene uses another trick and reduces the precision. You can see the respective method a few lines below.
If you try to encode and decode the value using the following snippet you get exactly 0.5 (which is a sufficient precision for this purpose):
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.