Hi,
Can someone please tell my why the Document class has no interface and is
final?
I want to create some documents that have some standard fields (eg: creation
date), and I don't want to keep repeating my code. This way I ensure some
standard conventions in all my documents.
What's the reason
On Dec 23, 2005, at 5:00 AM, Steven Pannell wrote:
Can someone please tell my why the Document class has no interface
and is
final?
Primarily because Lucene controls the construction of Document
instances returned from Hits.
I want to create some documents that have some standard fields
PROTECTED]
Sent: 23 December 2005 11:31
To: java-dev@lucene.apache.org
Subject: Re: Why is Document final?
On Dec 23, 2005, at 5:00 AM, Steven Pannell wrote:
> Can someone please tell my why the Document class has no interface
> and is
> final?
Primarily because Lucene controls the con
PROTECTED]
Sent: Friday, December 23, 2005 4:23 PM
To: 'java-dev@lucene.apache.org'
Subject: RE: Why is Document final?
Hi,
Yes, I can see why in this implementation it will not work. However, what
about using the XMLEncoder instead of Serializable? Using this method we
have both platform