lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "none none" <>
Subject Re: How do I get TermPositions for a given document?
Date Wed, 23 Oct 2002 22:21:46 GMT
 I can try to do that, may be i'll need some help but... may be i don't, can you sent the code
to mailing list?
thank you.


On Wed, 23 Oct 2002 16:16:58  
 Dmitry Serebrennikov wrote:
>Spencer, Dave wrote:
>>I have an IndexReader and I want to get a TermPositions obj for a given
>>Right now it seems that it only works the other way - you can only get
>>TermPositions for a term, or globally for all terms.
>>Basically I want to know the positions of all the words in a given doc.
>>Is it the case that the index is not set up for this as it's really
>>to work the other way?
>Yes, that's correct. I've developed a set of add-on modules for doing 
>the revers lookup (aka TermVector support), but right now lack the time 
>to integrate it with the latest Lucene version and contribute it. So if 
>you are looking for a quick solution, there isn't one. If you are 
>looking to add this to Lucene, and are willing to dig deep into the file 
>formats, perhaps you can help bringing the code I have up to date with 
>the latest Lucene version.
>>Looked thru RC5 javadoc and the latest Oct 23 src. It may be that I
>>missed it...
>>To unsubscribe, e-mail:   <>
>>For additional commands, e-mail: <>
>To unsubscribe, e-mail:   <>
>For additional commands, e-mail: <>

Get 250 full-color business cards FREE right now! 

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message