You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Kenji <kk...@pipestone.com> on 2005/12/01 00:03:17 UTC
RE: Lucene term-vector
The below modification DID work. I was using the Luke tool to browse the
Lucene data, and finding no hint of term vectors for the contents. It
turned out that since content bodies were not stored, but just indexed. The
hasTermVectors property is null, but you can get term vectors directly out
of IndexReader for any documents.
Thanks.
-----Original Message-----
From: Kenji [mailto:kkawai@pipestone.com]
Sent: Tuesday, November 29, 2005 5:37 PM
To: nutch-user@lucene.apache.org
Subject: Lucene term-vector
Anybody using term-vectors? Modifying BasicIndexFilter to enable the
term-vector option for contents doesn't seem to produce any:
// content is indexed, so that it's searchable, but not stored in index
doc.add(Field.UnStored("content", parse.getText(), true));
Any ideas?
-Kenji