org.molgenis.semanticsearch.explain.bean.ExplainedQueryString Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of molgenis-semantic-search Show documentation
Show all versions of molgenis-semantic-search Show documentation
Semantic data search service functionality.
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