lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amit <>
Subject Cannot get Field.Text to work
Date Mon, 09 Jul 2007 20:41:27 GMT

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.



<a href=";id=111787&amp;t=1">Get

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