<commit_before>/*
 * Copyright (c) 2017 Redlink GmbH.
 */
package com.rbmhtechnology.vind.report.model.request.facet;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.rbmhtechnology.vind.api.query.facet.Facet;

/**
 * Created on 29.12.17.
 */

@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({"type"})
@JsonIgnoreProperties(value = {"fieldDescriptor","descriptor", "name" })
public abstract class FacetMixin extends Facet {

    @JsonProperty("type")
    @Override
    public abstract String getType();


}<commit_msg>#7: bugfix with term facet based on annotated beans search<commit_after>/*
 * Copyright (c) 2017 Redlink GmbH.
 */
package com.rbmhtechnology.vind.report.model.request.facet;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.rbmhtechnology.vind.api.query.facet.Facet;

/**
 * Created on 29.12.17.
 */

@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({"type"})
@JsonIgnoreProperties(ignoreUnknown = true, value = {"fieldDescriptor","descriptor", "name", "log","tagedPivots","fieldName" })
public abstract class FacetMixin extends Facet {

    @JsonProperty("type")
    @Override
    public abstract String getType();

}
{'fraction_non_alphanumeric': 0.12605042016806722, 'fraction_numerical': 0.013574660633484163, 'mean_word_length': 5.88, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, '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': '2021264', 'n_tokens_mistral': 514, 'n_tokens_neox': 454, 'n_words': 88}