com.shopizer.search.services.SearchResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sm-search Show documentation
Show all versions of sm-search Show documentation
Search module for shopizer using elasticsearch 5.6.12
package com.shopizer.search.services;
import java.util.Collection;
import java.util.Map;
/**
* Object used for autocomplete and regular search
*
* @author Carl Samson
*
*/
public class SearchResponse {
private String inputSearchJson;
private Collection ids;
private int count;
private Collection searchHits;
private Map facets;
public Map getFacets() {
return facets;
}
public void setFacets(Map facets) {
this.facets = facets;
}
private String[] inlineSearchList;
public String[] getInlineSearchList() {
return inlineSearchList;
}
public void setInlineSearchList(String[] inlineSearchList) {
this.inlineSearchList = inlineSearchList;
}
public Collection getSearchHits() {
return searchHits;
}
public void setSearchHits(Collection searchHits) {
this.searchHits = searchHits;
}
public String getInputSearchJson() {
return inputSearchJson;
}
public void setInputSearchJson(String inputSearchJson) {
this.inputSearchJson = inputSearchJson;
}
public Collection getIds() {
return ids;
}
public void setIds(Collection ids) {
this.ids = ids;
}
public int getCount() {
return count;
}
public void setCount(int count) {
this.count = count;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy