title: How to index list of strings in hibernate search
body: <p>How to index list of strings in Hibernate search?</p>
  
  <p>i tried like this </p>
  
  <pre><code>@Field(index = Index.YES, analyze = Analyze.NO, store = Store.YES, analyzer = @Analyzer(definition = "customanalyzer_query"))
  @ElementCollection(fetch = FetchType.EAGER)
  private Set&lt;String&gt; hashedTagList;
  </code></pre>
  
  <p>I'm getting error while committing new object.</p>
  
  <p>I'm using Hibernate <em>ogm</em> with <em>mongodb</em></p>