Hi all,

I am copying documents from a source index to another (and adding more fields), all the fields are indexed and stored.

I'm basically doing...

for (int docNum = 0; docNum < maxDoc; docNum++)
{
  Document doc = indexReader.document(docNum);
  doc.add(new Field1...);
  doc.add(new Field2...);

  indexWriter.addDocument(doc);
}

However I have a number of DoubleField types and these fields are copied but not re-indexed and fieldType().indexed() == false, despite being indexed in the source index.

Everything works fine for StringField types.

Is this a bug or am I doing something wrong?
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to