[Xapian-discuss] How to use TermGenerator alone

Olly Betts olly at survex.com
Fri Nov 14 19:01:31 GMT 2008


On Fri, Nov 14, 2008 at 05:45:21PM +0100, David Versmisse wrote:
> [term.term for term in tg.get_document().termlist()]
> 
> but i don't have the position of the words (not in term ?)

I think they should be available via term.positer - did you try that?

Cheers,
    Olly



More information about the Xapian-discuss mailing list