Could not implement faceted search. I need to categorize and count “office” values.
I post data with REST:
{"query":"*","docs":"0","offset":"0","facet":"company.employee.office"}
but get an error:
"problem_terms":{"path_not_indexed":"company.employee.office\/facet"}
I have indexed “//document/company/employee” as index=xml&text&facet.
Where is the problem?
The are two things you need to correct in your request:
The correct request could look like: