You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by SK R <rs...@gmail.com> on 2007/03/20 11:32:32 UTC

can't get docFreq of phrase

Hi,
    I can get docFreq. of single term like (f1:test) by using
indexReader.docFreq(new Term("f1","test")). But can't get docFreq. of phrase
term like f2:"test under") by the same method.

    Is  anything wrong in this code?
    Please help me to resolve this problem.


Thanks & Regards
RSK