<div>Hi,</div><div><br></div><div>While porting the unit tests from perl for the node binding I noticed a test failed.</div><div>I basically create a document, add a few terms, add the document to a database and then call doc-&gt;termlist_begin().get_termfreq(). This throws &quot;Can&#39;t get term frequency from a document termlist which is not associated with a database.&quot;</div>


<div><br></div><div>What I think this means is that I can not call get_termfreq from a TermIterator obtained from a document (this is only available for a TermIterator obtained from a Database object). Am I right?</div><div>


<br></div><div>I will add code snippets if it is required.</div><div><br></div><div>Thanks,</div><div>Marius</div>