Ejemplo n.º 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));
        }
Ejemplo n.º 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)));
 }
Ejemplo n.º 3
0
		public object ExecuteEmbedded(IDatabaseCommands commands)
		{
			return commands.GetFacets( index, query, facetSetupDoc, start, pageSize );
		}
Ejemplo n.º 4
0
 public virtual FacetResults GetFacets(string facetSetupDoc, int start, int?pageSize)
 {
     return(databaseCommands.GetFacets(indexName, GetIndexQuery(false), facetSetupDoc, start, pageSize));
 }
Ejemplo n.º 5
0
 public object ExecuteEmbedded(IDatabaseCommands commands)
 {
     return(commands.GetFacets(index, query, facetSetupDoc));
 }