简体   繁体   中英

Algolia escape character for special character

One of the values in Algolia has "(" and ")" in it which needs to be queried in filter and facet.

for eg:

(category:Book(Engg) OR NOT category:Ebook(Novel) )

here Book(Engg) and EBook(Novel) raises the error as it has bracket in it. How to escape a special character character

尝试双引号:

filters: 'category:"Book(Engg)" OR NOT category:"Ebook(Novel)"'

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM