lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: How to get rid of unused fields?
Date Thu, 16 Jul 2009 22:38:57 GMT

: After deleting documents from the index it can happen that fields become
: unused (i.e. no document has this field anymore). And
: IndexReader.getFieldNames() still returns these unused fields, even
: after optimizing the index. Is there any chance to get rid of these
: unused fields?

that's odd ... i'm 99% sure that should work (optimizng should perge 
unused fields).  

what version of Lucene are you using?  (if you're on the trunk it might be 
a bug introduced recently with some of the indexing changes)

Can you post some test code demonstrating the problem?



-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message