lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From starz10de <>
Subject RE: High frequency term for the searched query
Date Fri, 05 Nov 2010 08:37:07 GMT


I did as it is explained in the website:

 final Set<Term> terms = new HashSet<Term>();  
        query = searcher.rewrite(query); 
        for(Term t : terms){ 
            int frequency = searcher.docFreq(t); 

however I can't understand why this error appeared:

"the method extractterms(Set<Term>) is undefined for the type Query"

any idea

View this message in context:
Sent from the Lucene - Java Users mailing list archive at

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

View raw message