lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amit <amit.hanchinam...@gmail.com>
Subject Cannot get Field.Text to work
Date Mon, 09 Jul 2007 20:41:27 GMT
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>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message