package io.quarkus.it.hibernate.search.elasticsearch.analysis;

import javax.persistence.Entity;

import org.hibernate.search.mapper.pojo.mapping.definition.annotation.FullTextField;
import org.hibernate.search.mapper.pojo.mapping.definition.annotation.Indexed;

@Entity
@Indexed
public class Analysis2TestingEntity extends AnalysisTestingEntityBase {
    public Analysis2TestingEntity() {
    }

    public Analysis2TestingEntity(String text) {
        super(text);
    }

    @FullTextField(analyzer = "index-level-analyzer-2")
    @Override
    public String getText() {
        return super.getText();
    }
}
