Reputation: 23
I want to get list of items in specific collection.
This returns list of items solr/search/select?q=search.resourcetype:2
and this one solr/search/select?q=search.resourcetype:4
list of collections. But what i want is list of items in xyz collection.
what is the appropriate query to accomplish this.
Thank you
Upvotes: 0
Views: 679
Reputation: 694
If 17 is the collection id then add &fq=location:l17
solr/search/select?q=search.resourcetype:2&fq=location:l17
or &fq=location.coll:17
solr/search/select?q=search.resourcetype:2&fq=location.coll:17
for communities it's &fq=location:m17
or &fq=location.comm:17
Upvotes: 2