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

org.elasticsearch.plugin.nlpcn.SearchHitsResult Maven / Gradle / Ivy

There is a newer version: 7.8.0.1
Show newest version
package org.elasticsearch.plugin.nlpcn;

import org.elasticsearch.search.internal.InternalSearchHit;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Eliran on 28/8/2015.
 */
public class SearchHitsResult {
    private List searchHits;
    private boolean matchedWithOtherTable;

    public SearchHitsResult() {
        searchHits = new ArrayList<>();
    }

    public SearchHitsResult(List searchHits, boolean matchedWithOtherTable) {
        this.searchHits = searchHits;
        this.matchedWithOtherTable = matchedWithOtherTable;
    }

    public List getSearchHits() {
        return searchHits;
    }

    public void setSearchHits(List searchHits) {
        this.searchHits = searchHits;
    }

    public boolean isMatchedWithOtherTable() {
        return matchedWithOtherTable;
    }

    public void setMatchedWithOtherTable(boolean matchedWithOtherTable) {
        this.matchedWithOtherTable = matchedWithOtherTable;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy