/**
 * Copyright © 2011-2013 EMBL - European Bioinformatics Institute
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License.  
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package uk.ac.ebi.phenotype.imaging.springrest.images.dao;

import java.util.List;


import org.apache.solr.client.solrj.response.FacetField;
import org.apache.solr.client.solrj.response.QueryResponse;
import org.apache.solr.common.SolrDocument;
import org.apache.solr.common.SolrDocumentList;
/**
 * Interface for images data access from solr (probably not need an interface to this as it's solr specific...)
 * @author jwarren
 *
 */
public interface ImagesSolrDao {

	public abstract long getNumberFound();

	public abstract List<String> getIdsForKeywordsSearch(String query,
			int start, int length);
	
	public abstract QueryResponse getExperimentalFacetForGeneAccession(String geneId);

	public QueryResponse getExpressionFacetForGeneAccession(String geneId);
	public QueryResponse getDocsForGeneWithFacetField(String query, String facetName, String facetValue, String filterQuery, int start, int length);


	public QueryResponse getFilteredDocsForQuery(String query, List<String> filterField,String qf, String defType,
			int start, int length);
	
	public QueryResponse getDocsForMpTerm(String mpId, int start, int length);

}

Change copyright in Apache 2 license to 2013 documented documented Fixed solr gene details page images not limited to expression and gene id! image results works from mp, genedetails and search??? images links working on gene details and new server side icon on mp page hacks to show expression not filtered on geneid update all images to use SOLR only (no hibernate); reformat page to be the same as detail page layout; add MGI term search new backend images jsps for geneDetails and mp pages
Change copyright in Apache 2 license to 2013
documented
documented
Fixed solr gene details page images not limited to expression and gene id!
image results works from mp, genedetails and search???
images links working on gene details and new server side icon on mp page
hacks to show expression not filtered on geneid
update all images to use SOLR only (no hibernate); reformat page to be the same as detail page layout; add MGI term search
new backend images jsps for geneDetails and mp pages
