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

com.shopizer.search.services.SearchResponse Maven / Gradle / Ivy

There is a newer version: 2.11.2
Show newest version
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