1
0
Fork 0
mirror of synced 2024-06-29 11:31:06 +12:00

Adding multiple of same property test case for lucene building.

This commit is contained in:
mike12345567 2022-08-08 19:19:33 +01:00
parent 77947e8ba9
commit be80839573

View file

@ -133,4 +133,16 @@ describe("internal search", () => {
}, PARAMS)
checkLucene(response, `*:* AND column:a`, PARAMS)
})
it("test multiple of same column", async () => {
const response = await search.paginatedSearch({
allOr: true,
equal: {
"1:column": "a",
"2:column": "b",
"3:column": "c",
},
}, PARAMS)
checkLucene(response, `column:"a" OR column:"b" OR column:"c"`, PARAMS)
})
})