<commit_before>package com.github.onsdigital.babbage.search.model.field;

/**
 * Created by bren on 08/09/15.
 * <p/>
 * Searchable field names with boost factors
 */
public enum SearchableField {
    title(100),
    edition(100),
    summary,
    metaDescription,
    keywords,
    type;

    private Long boostFactor;

    SearchableField(long boostFactors) {
        this.boostFactor = boostFactors;
    }

    SearchableField() {

    }

    public Long getBoostFactor() {
        return boostFactor;
    }<commit_msg>Reduced edition field score  boosting value as elastic searc already boosts shorter fields when matched<commit_after>package com.github.onsdigital.babbage.search.model.field;

/**
 * Created by bren on 08/09/15.
 * <p/>
 * Searchable field names with boost factors
 */
public enum SearchableField {
    title(100),
    edition(10),
    summary,
    metaDescription,
    keywords,
    type;

    private Long boostFactor;

    SearchableField(long boostFactors) {
        this.boostFactor = boostFactors;
    }

    SearchableField() {

    }

    public Long getBoostFactor() {
        return boostFactor;
    }
{'fraction_non_alphanumeric': 0.09179170344218888, 'fraction_numerical': 0.02030008826125331, 'mean_word_length': 2.857142857142857, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1377369', 'n_tokens_mistral': 360, 'n_tokens_neox': 332, 'n_words': 86}