On Mon, Mar 9, 2009 at 2:02 PM, Michael McCandless
<luc...@mikemccandless.com> wrote:
> Once added, something inside the index (a "write once" schema) records
> that this field is an IntField and then it's an error to ever use a
> different type field by that same name.

I dunno... coupling functionality to restrictions seems like it starts
to erode some of Lucene's famous flexibility.

Consider changing the type of a field from an int to a long... a
reasonably smart app or user could delete and re-index documents with
that field (it could be a small subset).  Or even keep track of what
documents had an int field vs a long field (via filters or something).


-Yonik
http://www.lucidimagination.com

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