You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varitemsjs=require('itemsjs')(data,{sortings: {year_asc: {// field name in datafield: 'year',// possible values asc or descorder: 'asc'}},aggregations: {tags: {title: 'Tags',// conjunctive facet (AND)conjunction: true,// the default is 10size: 20},rating: {title: 'Actors',// non conjunctive facet (OR)conjunction: false,// it is sorting by value (not by count). 'count' is the defaultsort: 'term',order: 'asc',size: 5}},searchableFields: ['name','tags']});