title: What better way to index the array of data in Lucene?
body: <p>dear programmers! <br/>
  I have a question for the people who worked with <strong><em>Apache Lucene</em></strong>.<br/> 
  What better way to index the array of data in <strong><em>Lucene</em></strong>? <br/>
  I use </p>
  
  <pre><code>arr [i] = Field: "arr." + i + ".data"
  </code></pre>
  
  <p>Java Code:</p>
  
  <pre><code>Field field = new StringField(
                  "arr." + i + ".data",
                  arr[i], Field.Store.YES);
  doc.add(field);
  </code></pre>