I think it would make sense to have a method

String getType() for (or maybe additional short getType())

http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/document/Field.html

which would return something like

Text, UnIndexed, etc.

or am I overlooking something?

I have seen that toString() is delivering the type as part of the return value,
but I think it would make sense to get this information without string manipulation.


WDYT?

btw, the Javadoc of isTermVectorStored() has a typo: available instead avaliable, but maybe this has been fixed within the CVS already.

Thanks

Michi

--
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
[EMAIL PROTECTED]                        [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to