Hi

I am new to Lucene and trying out the example code. But when I try to insert
values using Field.Text the compiler does not recognize the Text as a method
of Field. The code looks like this

contactDocument.add(Field.Text("name", contact.getName()));

I wanted to know if the version 2.2 does not have this method anymore, or do
I have to access it in another way.
Any help appreciated.


Regards,

Amit





<a href="http://www.spreadfirefox.com/?q=affiliates&amp;id=111787&amp;t=1";>Get
Firefox!</a>

Reply via email to