lucenenet-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject GetTermText in TermStats not available ?
Date Mon, 21 May 2018 14:48:03 GMT

I am using the following method to get the top terms for a given field:


TermStats[]  commonTerms = HighFreqTerms.GetHighFreqTerms(reader, 5, "Tags",


I can NOT get the term string from GetTermText (the method is not available)

    string term = commonTerms[i].GetTermText();


The GetTermText method seems to be internal only. This results in not being
able to return the term string. Is this correct or is there any other
solution to get the term string out of the TermStats?





  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message