Make sure that you added it to the index as a stored field, and not
just indexed.  Look at the Javadoc for Field class to see different
field types.

Otis

--- ROSHAN NAVENDRA <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I would like to access the contents field of a document, fo rexample
> 
> doc(i).get("contents")
> 
> this should return a String (am i right?) but when I print it out I
> find that it is a Null. How do I go about accessing the contents of
> the file????
> 
> Rosh.
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

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

Reply via email to