You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by savageboy <ei...@hotmail.com> on 2007/07/20 03:46:15 UTC

How to open the term vector storage?

Hello, everyone:

doc.add(Field.Unstored("subject", subject, true));
This syntax above is for Lucene1.4

I need the syntax which could do the same work for Lucene2.0
Could you help me?
Thank you very much!
-- 
View this message in context: http://www.nabble.com/How-to-open-the-term-vector-storage--tf4114700.html#a11700958
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: How to open the term vector storage?

Posted by savageboy <ei...@hotmail.com>.
Sorry, I ve found it "Field.TermVector.YES", there is no more problem!
Thanks a lot!



savageboy wrote:
> 
> Hello, everyone:
> 
> doc.add(Field.Unstored("subject", subject, true));
> This syntax above is for Lucene1.4
> 
> I need the syntax which could do the same work for Lucene2.0
> Could you help me?
> Thank you very much!
> 

-- 
View this message in context: http://www.nabble.com/How-to-open-the-term-vector-storage--tf4114700.html#a11701017
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


RE: How to open the term vector storage?

Posted by Ju...@cognizant.com.
Thank you.
Document 1.9 is very useful.

-----Original Message-----
From: Chris Hostetter [mailto:hossman_lucene@fucit.org]
Sent: 2007年7月20日 10:18 上午好,Daniel
To: Lucene Users
Subject: RE: How to open the term vector storage?


: I also have this problem...
: Field.Text
: Field.Keyword
: ...
: I cannot find this method in lucene2.0 API

please see the FAQ "How do I get code written for Lucene 1.4.x to work
with Lucene 2.x?"

http://wiki.apache.org/lucene-java/LuceneFAQ#head-86d479476c63a2579e867b75d4faa9664ef6cf4d




-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


RE: How to open the term vector storage?

Posted by Chris Hostetter <ho...@fucit.org>.
: I also have this problem...
: Field.Text
: Field.Keyword
: ...
: I cannot find this method in lucene2.0 API

please see the FAQ "How do I get code written for Lucene 1.4.x to work
with Lucene 2.x?"

http://wiki.apache.org/lucene-java/LuceneFAQ#head-86d479476c63a2579e867b75d4faa9664ef6cf4d




-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


RE: How to open the term vector storage?

Posted by Ju...@cognizant.com.
I also have this problem...
Field.Text
Field.Keyword
...
I cannot find this method in lucene2.0 API



-----Original Message-----
From: savageboy [mailto:eingmarra@hotmail.com]
Sent: 2007年7月20日 9:46 上午好,Daniel
To: java-user@lucene.apache.org
Subject: How to open the term vector storage?


Hello, everyone:

doc.add(Field.Unstored("subject", subject, true));
This syntax above is for Lucene1.4

I need the syntax which could do the same work for Lucene2.0
Could you help me?
Thank you very much!
--
View this message in context: http://www.nabble.com/How-to-open-the-term-vector-storage--tf4114700.html#a11700958
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org