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)); }
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 ); }
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)); }