ndex 'WorkplanActivityIndex' has already produced 51 map results for a source document 'ProjectWorkplans/12', while the allowed max number of outputs is 50 per one document. Please verify this index definition and consider a re-design of your entities or index
Map = workplans => from workplan in workplans let project = LoadDocument<Project>(workplan.ProjectId) let log = LoadDocument<ProjectHourLog>(project.HoursLog.Id) let activities = Recurse(workplan, pw => (IEnumerable<WorkplanActivity>) pw.ChildActivities) from activity in activities from user in activity.Assignees select new { ProjectId = project.Id, ProjectName = project.Descriptor.Name, ProjectStatus = project.Status.State.ToString(), WorkplanId = workplan.Id, ActivityId = activity.Id, ActivityName = activity.Descriptor.Name, ActivityStatus = activity.Status.Name.ToString(), user.UserId, };
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
--
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.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.