Facet Info

Hi all,
I’m very new to this nice software!
I have a question.

there’s facet information(date range, type, size…) in search result page, is there a way to get them through a REST API?

thank you in advance!

Please refer to the Search API guide. The Search API includes ‘facet.*’ as part of its request parameters.

thx, I found!
by the way, I connected to google drive and it works.
But in case of deleting files in google drive then re-crawled, removed files still searchable. Is there a configuration to clear index when file removed or a way to re-create index by force?

When the following settings are added to the ‘Parameter’ in the datastore crawling settings, Fess will remove the previous documents from the index:

delete_old_docs=true
keep_expires_docs=false