SHALong
SHALong

Reputation: 109

Does spring data solr support json.facet?

Can I write the facet query like this in spring-data-solr?

json.facet={
    "topic_aggr":{
        "type": "terms",
        "field": "topic_ss",
        "limit": 10,
        "numBuckets": true,
        "allBuckets": true,
        "facet": {
            "updateTime":"max(createTime_dt)"
        }
    }
}

Upvotes: 0

Views: 284

Answers (1)

Persimmonium
Persimmonium

Reputation: 15789

It is not mentioned at all in the docs, only vanilla and Pivot faceting, so I would say: clearly not.

Upvotes: 1

Related Questions