Sorry, this was a bit nonsense ;) I store a document with a content field like this:
Document#add(new Field("content", someReader, TermVector.WITH_OFFSETS)); Later I search this document with an IndexSearcher and want the TermPositions from this single document. There is a IndexReader#termPositions(Term t) - but this returns the positions for the whole index, not a single document. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Montag, 28. Januar 2008 15:28 > To: java-user@lucene.apache.org > Subject: TermVector > > Hi, > > how do I get the TermVector from a document which I have > gotten from an > IndexSearcher via IndexSearcher#search(Query q). > > Luke can do it, but I do not know how... > > Thank you. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]