com.shopizer.search.services.SearchRequest 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.ArrayList;
import java.util.List;
public class SearchRequest {
private List collections;
public List getCollections() {
return collections;
}
public void addCollection(String collection) {
if (this.collections == null) {
this.collections = new ArrayList();
}
this.collections.add(collection);
}
public int getSize() {
return size;
}
public void setSize(int size) {
this.size = size;
}
private String json;
public String getJson() {
return json;
}
public void setJson(String json) {
this.json = json;
}
private int size = -1;
private int start;
public int getStart() {
return start;
}
public void setStart(int start) {
this.start = start;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy