-1
var getallskills = document.getElementById('OpenJobs').value;
var preselectedCategories = getallskills.split(",");
var getallskills2 = document.getElementById('HiddenField1').value;
var preselectedCategories2 = getallskills2.split(",");
var geter = "Filled";
var pregeter = geter.split(",");
var search = instantsearch({
appId: 'XXXXXXXXX',
apiKey: 'XXXXXXXXXXXX',
indexName: 'Jobs',
searchParameters: {
"disjunctiveFacetsRefinements": {
"JobTitle": preselectedCategories
},
"facetsExcludes": {
"Emails.User": preselectedCategories2,
"Status": pregeter
}
}});
我想獲得disjunctiveFacetsRefinements與facetsExcludes工作,它似乎並沒有工作。有什麼我做錯了嗎?也許是一個錯誤?Algolia即時搜索disjunctiveFacetsRefinements無法使用facetsExcludes
請定義「不工作」。 – Teemu
結果顯示,但它們不是正確的結果。 –