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

org.molgenis.semanticsearch.explain.bean.ExplainedQueryString Maven / Gradle / Ivy

There is a newer version: 8.4.5
Show newest version
package org.molgenis.semanticsearch.explain.bean;

import com.google.auto.value.AutoValue;
import org.molgenis.util.AutoGson;

@AutoValue
@AutoGson(autoValueClass = AutoValue_ExplainedQueryString.class)
@SuppressWarnings(
    "squid:S1610") // Abstract classes without fields should be converted to interfaces
public abstract class ExplainedQueryString {
  public abstract String getMatchedWords();

  public abstract String getQueryString();

  public abstract String getTagName();

  public abstract double getScore();

  public static ExplainedQueryString create(
      String matchedWords, String queryString, String tagName, double score) {
    return new AutoValue_ExplainedQueryString(matchedWords, queryString, tagName, score);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy