Summary
	
    Creates a lookup from a sequence of documents according to a specified metadata key
    that contains a sequence of keys
    and gets the elements for each group by using a specified metadata key.
    
		
	Syntax
	public static ILookup<TKey, TElement> ToLookupMany<TKey, TElement>(this IEnumerable<IDocument> documents, string keyMetadataKey, string elementMetadataKey)
	Type Parameters
	
		
			
				
					
						| Name | Description | 
				
					
						| TKey | The type of the key. | 
					
						| TElement | The type of the element. | 
			
		 
	 	
	Parameters
	
		
			
				
					
						| Name | Type | Description | 
				
					
						| documents | IEnumerable<IDocument> | The documents. | 
					
						| keyMetadataKey | string | The key metadata key. | 
					
						| elementMetadataKey | string | The element metadata key. | 
			
		 
	 	
	Return Value
	
		
			
				
					
						| Type | Description | 
				
				
					| ILookup<TKey, TElement> | A lookup. |