Hibernating Rhinos Ltd
Oren Eini l CEO l Mobile: + 972-52-548-6969
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
Is there any way to use Map-Reduce index for an entity along with some other index defined for the same entity , E.g: I have 2 indexes defined for Product (in NorthWind database) , one I use for regular querying, other one is Map-Reduce one which has 1 field as aggregate field (Group By Key). I want to know whether I can first put filters on IRavenQueryable<Product> (i.e. IRavenQueryable<Product >.("MyIndex").Where(filters..))using regular index, and then use Map-Reduce index on it to get statistics on numerical fields.TIA
--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
var results = session.Query<Product>().Search(t=>t.Name,"*ar*",escapeQueryOptions: EscapeQueryOptions.AllowAllWildcards).Select(t=>t.Id);
var results1 = session.Query<Product>().Where(t=>results.Contains(t.Id));
using Raven.Client.Linq;
var ids = session.Query<Product>().Search(t=>t.Name,"*ar*",escapeQueryOptions: EscapeQueryOptions.AllowAllWildcards).Select(t=>t.Id).ToList();
var results = session.Query<Product>().Where(t=>t.Id.In(ids));