lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Engels" <reng...@ix.netcom.com>
Subject RE: [jira] Commented: (LUCENE-609) Lazy field loading breaks backward compat
Date Wed, 21 Jun 2006 20:52:24 GMT
I understand that by having LazyField extend Field it would probably
override all methods, but it still seems cleaner given the existing code
base. LazyField would only need a package level ctor.

-----Original Message-----
From: Yonik Seeley [mailto:yseeley@gmail.com] 
Sent: Wednesday, June 21, 2006 3:45 PM
To: java-dev@lucene.apache.org
Cc: rengels@ix.netcom.com
Subject: Re: [jira] Commented: (LUCENE-609) Lazy field loading breaks
backward compat

On 6/21/06, Chris Hostetter <hossman_lucene@fucit.org> wrote:
> LazyField doesn't extend Field.

Yeah, that's the crux of the matter.

I assume this is the case because people need to instantiate Field to add it
to a Document at index time, and I guess there is some FIeld baggage that
LazyField didn't want to bring along.

Which also brings us back to the fact that the Field you index should have
never been the Field you get back (but as I've said, it's water long under
the bridge).

-Yonik
http://incubator.apache.org/solr Solr, the open-source Lucene search server

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


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