: Thanks for the reply. I didn't know that as all the examples on Lucene still
: use the old approach.
: I had a look at the API and it does not seem to provide any new methods as
: a substitute for Field.Text.
Please note there is a FAQ specificly about "How do I get code written
for Lucene 1.4
Field("name", contact.getName(),Field.Store.YES,
Field.Index.TOKENIZED));
Andy
-Original Message-
From: Amit [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 10, 2007 6:00 PM
To: java-user@lucene.apache.org
Subject: Re: Cannot get Field.Text to work
Hi Otis,
Thanks for the reply. I
M
To: java-user@lucene.apache.org
Subject: Re: Cannot get Field.Text to work
Hi Otis,
Thanks for the reply. I didn't know that as all the examples on Lucene
still
use the old approach.
I had a look at the API and it does not seem to provide any new methods
as
a substitute for Field.Text.
M
Subject: Cannot get Field.Text to work
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.getNam
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Simpy -- http://www.simpy.com/ - Tag - Search - Share
- Original Message
From: Amit <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org
Sent: Monday, July 9, 2007 10:41:27 PM
Subject: Cannot get Field.Text to work
Hi
I am new to Lucene and trying o
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 no