All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.webpieces.elasticsearch.queries.Suggestion Maven / Gradle / Ivy

package org.webpieces.elasticsearch.queries;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.List;

public class Suggestion {

    //For completion mappings, use these 2 fields for querying
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String prefix;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Completion completion;

    //for other use these
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String text;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer offset;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer length;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List




© 2015 - 2025 Weber Informatics LLC | Privacy Policy