h (IOException e) {
e.printStackTrace();
}
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
From: Michael Sokolov
Sent: Friday, November 22, 2019 8:11:25 PM
To: java-user@lucene.apache.org
Subject: Re: Get distinct fie
;
}
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
From: Michael Sokolov
Sent: Friday, November 22, 2019 8:11:25 PM
To: java-user@lucene.apache.org
Subject: Re: Get distinct fields values from lucene index
In Solr and ES t
In Solr and ES this is done with faceting and aggregations,
respectively, based on Lucene's low-level APIs. Have you looked at
TermsEnum? You can use that to get all distinct terms for a segment,
and then it is up to you to coalesce terms across segments ("leaves").
On Thu, Nov 21, 2019 at 1:15 AM