Hello Ned.
This information is available in explain()
Also in a low level it's available via freq() and docFreq()
https://lucene.apache.org/core/9_0_0/core/org/apache/lucene/index/package-summary.html#terms


On Sun, Jul 9, 2023 at 10:35 AM nedyalko.zhe...@freelance.de.INVALID
<nedyalko.zhe...@freelance.de.invalid> wrote:

> Good Morning everyone!
>
> I'm new to Lucene and I use currently version 8.11.2.
> I'm doing a simple boolean query. After I've executed the search() method
> and got results, I'd like to get infotmation about how often a term from
> the query has been matched. In other words, I'd like to get the matches in
> a form of terms with properties like frequncy and positions.
> How can achive this?
>
> Thanks in advance!
> Ned
>
>

-- 
Sincerely yours
Mikhail Khludnev

Reply via email to