Apache Lucene.Net 2.4.0 Class Library API

ToStringUtils.Boost Method 

for printing boost only if not 1.0

public static string Boost(
   float boost
);

See Also

ToStringUtils Class | Lucene.Net.Util Namespace