sakaiproject/nakamura — pull request #573 by raydavis (2012-02-02 19:39:03+00:00)
Title: KERN-2542 One and only one _source is required in Profile index document

The existing logic loops around child sections of the specified Profile path and overwrites the "_source" field each time. The result is no "_source" definition if only the top path is being set, and an indeterminate "_source" definition if there is more than one child.

This change instead always sets the "_source" field to be the node at the specified Profile path.