disjunctiveFacetsRefinements with AND operator

i am loading data from a category Light on page load.

		var search = instantsearch({
		appId: 'XXXXXXXX',
	    indexName: 'wp_XXXXXXXXXXXXXXXX',
	    searchParameters: {
			facetsExcludes: {"vp_weight": [excludeWeight]},
            distinct: true,
			disjunctiveFacetsRefinements: {
				'taxonomies.category': ["Light" ]
			facets: ['taxonomies.category']

It’s working fine.

Now I want on page load it should load data that is in Light and General category.

how can i do that because if i add like

	disjunctiveFacetsRefinements: {
	    'taxonomies.category': ["Light", "GENERAL" ]

it seems it using OR operator. it loads data that is anyone of above category. I want AND operator.

May be you can use facetfilter here that help you to apply AND and OR

Hey @1naveengiri!

Disjunctive facets use the OR operator (disjunctive as a term meaning lacking connection or consistency). Therefore by defining both categories in disjunctiveFacetsRefinements, you’re only ever going to get back records that are in one or the other, never both.

The opposite of disjunctive is conjunctive, which applies the AND operator. Facets by default are conjunctive, so instead of adding any disjunctiveFacetsRefinements, if you the following, you should return records that are in both the Light and GENERAL categories.:

facetsRefinements: {
    'taxonomies.category': ["Light", "GENERAL" ]