List of usage examples for org.apache.lucene.search BoostAttribute getBoost
public float getBoost();
From source file:org.elasticsearch.action.termvectors.TermVectorsResponse.java
License:Apache License
private void buildScore(XContentBuilder builder, BoostAttribute boostAtt) throws IOException { if (hasScores) { builder.field(FieldStrings.SCORE, boostAtt.getBoost()); }// w ww . ja v a 2 s.c o m }