Hi all, I have an schema where documents have an category. Using faceting, I can get the different categories and the number of documents for each one. Besides, I need to know a ranking of the categories in which documents have been inserted more recently.
For example, supposse I have an schema with this field: *<field name="category" type="string" indexed="true" stored="true" />* then, I insert these documents, the last inserted is doc4: insert doc1{category=CAT_C} insert doc2{category=CAT_A} insert doc3{category=CAT_A} insert doc4{category=CAT_B} I need to know the different facets and the number of elements, and I can get it with something like this: http://localhost:8983/solr/select?q=name:company&facet=true&facet.field=category BUT, How Can get in which categories have been added documents more recently and get something like this: CAT_B, CAT_A, CAT_C???? Thanks in advance!!