Adding multiple of same property test case for lucene building.
This commit is contained in:
parent
31e83b3f4c
commit
76f0c4a289
|
@ -133,4 +133,16 @@ describe("internal search", () => {
|
||||||
}, PARAMS)
|
}, PARAMS)
|
||||||
checkLucene(response, `*:* AND column:a`, 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)
|
||||||
|
})
|
||||||
})
|
})
|
Loading…
Reference in New Issue