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:[EMAIL PROTECTED] Sent: Tuesday, November 29, 2005 5:37 PM To: [email protected] 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nutch-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nutch-general
