Magento 当产品名称中包含括号时,Algolia搜索出现问题
我试图找出Magento 1中的Algolia搜索功能出了什么问题 我有一款产品名为:华为p Smart(2019)。 当我试图用短语p 我有一个空的结果 但当我将其搜索为p smart(2019)时,我得到了一个正确的结果 请求p智能2019:Magento 当产品名称中包含括号时,Algolia搜索出现问题,magento,algolia,Magento,Algolia,我试图找出Magento 1中的Algolia搜索功能出了什么问题 我有一款产品名为:华为p Smart(2019)。 当我试图用短语p 我有一个空的结果 但当我将其搜索为p smart(2019)时,我得到了一个正确的结果 请求p智能2019: {"requests":[{"indexName":"magento_default_products","params":"query: p smart 2019 hitsPerPage: 40 maxValuesPerFacet: 40 page:
{"requests":[{"indexName":"magento_default_products","params":"query: p smart 2019
hitsPerPage: 40
maxValuesPerFacet: 40
page: 0
ruleContexts: ["magento_filters",""]
facets: ["categories_without_path","price.EUR.default","color"]
tagFilters: "}]}
答复:
{
"results":[
{
"hits":[
],
"nbHits":0,
"page":0,
"nbPages":0,
"hitsPerPage":40,
"facets":{
},
"exhaustiveFacetsCount":true,
"exhaustiveNbHits":true,
"query":" 2019",
"params":"query=p%20smart%202019&hitsPerPage=40&maxValuesPerFacet=40&page=0&ruleContexts=%5B%22magento_filters%22%2C%22%22%5D&facets=%5B%22categories_without_path%22%2C%22price.EUR.default%22%2C%22color%22%5D&tagFilters=&filters=&numericFilters=visibility_search%3D1&facetFilters=%5B%22categories_without_path%3Ap+smart%22%5D&query=+2019",
"index":"magento_default_products",
"processingTimeMS":1
}
]
}
我看到的回应是,这个查询=-2019(-这里是空格)像是试图逐字匹配,对吗
当我尝试按2019或-2019(-此处为空格)搜索时,我得到了正确的结果
我的配置几乎是Magento和Algolia的默认配置
有人有类似的问题吗?或者你知道我应该去哪里找修理