title: Using projection while retrieving from Azure Search Index
body: <p>Here I am retrieving the list of products from azure search index using a query. In this, I obtain a list of images for a particular product.</p>
  
  <pre><code> public class ProductImage
  {
  
          public string Id { get; set; }
  
          [IsSearchable]
          public string ActualSizeUrl { get; set; }
  
          public string ThumbnailUrl { get; set; }
  }
  </code></pre>
  
  <p>For example I am currently getting the following actual size url: <code>5de4ff7246bfe0002579328b/5da957c9e158618c1bbce366.jpg</code></p>
  
  <p>Using this code</p>
  
  <pre><code>var results = _indexClient.Documents.Search&lt;Product&gt;(searchText, parameters);
  
  IEnumerable&lt;SearchResult&lt;Product&gt;&gt; itemList = results.Results.AsEnumerable();
  
  IEnumerable&lt;SearchResultItem&gt; items = itemList.Select(x =&gt; new SearchResultItem
              {
                  Data = x.Document,
                  Confidence = x.Score,
                  Type = Enum.GetName(typeof(SearchType), SearchType.Product),
              });
  </code></pre>
  
  <p>How to achieve the actual size URL like this : <code>http://localhost:10000/devstoreaccount1/5de4ff7246bfe0002579328b/5da957c9e158618c1bbce366.jpg</code> while I retrieve from search Index</p>