lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: How to get rid of unused fields?
Date Thu, 16 Jul 2009 23:36:40 GMT
The same here, even with trunk from yesterday. If you create a field, it
stays there forever, even after deleting *all* documents from index,
reindexing without the field and optimizing.

Uwe
-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de

> -----Original Message-----
> From: Chris Hostetter [mailto:hossman_lucene@fucit.org]
> Sent: Friday, July 17, 2009 12:39 AM
> To: java-user@lucene.apache.org
> Subject: Re: How to get rid of unused fields?
> 
> 
> : 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



---------------------------------------------------------------------
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