lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neil Ireson <>
Subject Indexed numeric fields return indexed() == false
Date Fri, 26 Apr 2013 11:09:02 GMT
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...);


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:
For additional commands, e-mail:

View raw message