title: Indexing on sensitive data
body: <p>We need to be able to search a lot of personally identifiable information. We were thinking of using ElasticSearch for this but have a problem with the fact that it stores the original document.</p>
  
  <p>Is there a way to index on a field, but not store the field? In this case, if we got a hit on a record, we would get back the guid - or more likely the encrypted guid - of a record in dynamoDB that would contain the original document. But if someone managed to pinch the ES database they couldn't easily reconstruct the original information.</p>
  
  <p>Thanks,</p>
  
  <p>Adam.</p>