Exemple #1
0
        public virtual FacetedQueryResult GetFacets(string facetSetupDoc, int start, int?pageSize)
        {
            var q     = GetIndexQuery(false);
            var query = FacetQuery.Create(indexName, q, facetSetupDoc, null, start, pageSize);

            return(databaseCommands.GetFacets(query));
        }
Exemple #2
0
 public Task <FacetResults> GetFacetsAsync(string index, IndexQuery query, string facetSetupDoc, int start = 0, int?pageSize = null)
 {
     return(new CompletedTask <FacetResults>(databaseCommands.GetFacets(index, query, facetSetupDoc, start, pageSize)));
 }
		public object ExecuteEmbedded(IDatabaseCommands commands)
		{
			return commands.GetFacets( index, query, facetSetupDoc, start, pageSize );
		}
Exemple #4
0
 public virtual FacetResults GetFacets(string facetSetupDoc, int start, int?pageSize)
 {
     return(databaseCommands.GetFacets(indexName, GetIndexQuery(false), facetSetupDoc, start, pageSize));
 }
 public object ExecuteEmbedded(IDatabaseCommands commands)
 {
     return(commands.GetFacets(index, query, facetSetupDoc));
 }