Examples of ScoreType


Examples of gov.nist.checklists.xccdf.x11.ScoreType

          throw e;
        }
  }

  public void appendScore(Score score) {
    ScoreType scoreType = data.addNewScore();

    scoreType.setSystem(score.getScoringModel().getSystem());
    scoreType.setMaximum(score.getMaximumScore());
    scoreType.setBigDecimalValue(score.getScore());
  }
View Full Code Here

Examples of gov.nist.checklists.xccdf.x12.ScoreType

          throw e;
        }
  }

  public void appendScore(Score score) {
    ScoreType scoreType = data.addNewScore();

    scoreType.setSystem(score.getScoringModel().getSystem());
    scoreType.setMaximum(score.getMaximumScore());
    scoreType.setBigDecimalValue(score.getScore());
  }
View Full Code Here

Examples of org.apache.blur.thrift.generated.ScoreType

  @Override
  public void write(DataOutput out) throws IOException {
    Query subQuery = query.getQuery();
    float boost = query.getBoost();
    Term primeDocTerm = query.getPrimeDocTerm();
    ScoreType scoreType = query.getScoreType();

    // Start writing
    new QueryWritable(subQuery).write(out);
    out.writeFloat(boost);
    new TermWritable(primeDocTerm).write(out);
    IOUtil.writeString(out, scoreType.name());
  }
View Full Code Here

Examples of org.apache.blur.thrift.generated.ScoreType

    if (commandLine.hasOption(DISABLE_ROW_QUERY)) {
      query.setRowQuery(false);
    }
    if (commandLine.hasOption(SCORE_TYPE)) {
      String scoreTypeStr = commandLine.getOptionValue(SCORE_TYPE);
      ScoreType scoreType = ScoreType.valueOf(scoreTypeStr.toUpperCase());
      query.setScoreType(scoreType);
    }
    if (commandLine.hasOption(RECORD_FILTER)) {
      String recordFilter = commandLine.getOptionValue(RECORD_FILTER);
      query.setRecordFilter(recordFilter);
View Full Code Here

Examples of org.elasticsearch.index.search.child.ScoreType

        XContentParser parser = parseContext.parser();

        boolean queryFound = false;
        float boost = 1.0f;
        String childType = null;
        ScoreType scoreType = ScoreType.MAX;
        int factor = 5;
        int incrementalFactor = 2;
        String queryName = null;

        String currentFieldName = null;
View Full Code Here

Examples of org.elasticsearch.index.search.child.ScoreType

        XContentParser parser = parseContext.parser();

        boolean queryFound = false;
        float boost = 1.0f;
        String childType = null;
        ScoreType scoreType = ScoreType.NONE;
        int minChildren = 0;
        int maxChildren = 0;
        int shortCircuitParentDocSet = 8192;
        String queryName = null;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.