lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: Fieldable, AbstractField, Field
Date Tue, 25 Mar 2008 14:30:17 GMT
robert engels wrote:
> Some would argue that all that Field needs is
> 
> FieldData getField(String name); and void setField(String name,FieldData 
> data);
> 
> and FieldData has
> 
> toBytes(); fromBytes()

Isn't hindsight wonderful!

> Writing custom versions of IndexReader and IndexWriter was very 
> difficult because them being tied to a directory (a set of files).

No, as I've said before, writing custom versions of these was difficult 
because they were not originally designed to be pluggable, but rather 
concrete implementations only.

Doug

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


Mime
View raw message