/**
 * Most of the code in the Qalingo project is copyrighted Hoteia and licensed
 * under the Apache License Version 2.0 (release version 0.8.0)
 *         http://www.apache.org/licenses/LICENSE-2.0
 *
 *                   Copyright (c) Hoteia, 2012-2014
 * http://www.hoteia.com - http://twitter.com/hoteia - contact@hoteia.com
 *
 */
package org.hoteia.qalingo.core.solr.response;

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

import org.apache.solr.client.solrj.response.FacetField;
import org.hoteia.qalingo.core.solr.bean.StoreSolr;

public class StoreResponseBean {

    public static final String STORE_SEARCH_FIELD_TEXT      = "text";
    public static final String STORE_SEARCH_FIELD_TAG_CODE  = "tags";

    public static final String STORE_CITY_FACET_FIELD       = "city";
    public static final String STORE_COUNTRY_FACET_FIELD    = "countrycode";

    public static final String STORE_CITY_FACET_FIELD_CODE       = "cities";
    public static final String STORE_COUNTRY_FACET_FIELD_CODE    = "countrycode";

    public static final String STORE_DEFAULT_SEARCH_FIELD   = STORE_SEARCH_FIELD_TEXT;
//    public static final String STORE_DEFAULT_FACET_FIELD    = STORE_CITY_FACET_FIELD;
//    public static final String STORE_SECOND_FACET_FIELD     = STORE_COUNTRY_FACET_FIELD;

    private List<StoreSolr> storeSolrList = new ArrayList<StoreSolr>();

    private List<FacetField> storeSolrFacetFieldList = new ArrayList<FacetField>();

    public List<StoreSolr> getStoreSolrList() {
        return storeSolrList;
    }

    public void setStoreSolrList(List<StoreSolr> storeSolrList) {
        this.storeSolrList = storeSolrList;
    }

    public List<FacetField> getStoreSolrFacetFieldList() {
        return storeSolrFacetFieldList;
    }

    public void setStoreSolrFacetFieldList(List<FacetField> storeSolrFacetFieldList) {
        this.storeSolrFacetFieldList = storeSolrFacetFieldList;
    }

}

@@ -1032,37 +1032,35 @@
 ODE    = %22countr
-ycode
+ies
 %22;%0D%0A%0D%0A    public

Store search - fix facet country code