自动生成的 Azure 认知搜索站点中的方面计数限制为 5
Facets count limit 5 in Azure cognitive search site autogenerated
首先,我不熟悉 javascript,但我看到了 azure 搜索生成器提供具有搜索功能的门户的简单方法,我用它来制作超过 100K 文件的搜索门户。一切都很好,除了我面临这个旧 post (Facet count in Azure cognitive search (Automagic)). Using search explorer I can see the request url needed (example : facet=category,count:10 / https://xxxxxsearch.search.windows.net/indexes/azureblob-index/docs?api-version=2020-06-30-Preview&search=*&facet=category%2Ccount%3A10) 中提到的 5 个方面的限制的相同问题,但无法弄清楚将其放在搜索应用程序 hmtl 页面或我如何将其解析为 automagic 以考虑这一点。
感谢 Gaurav 的反馈。不,那部分对我来说很清楚。请让我展示一个示例,说明我想要 achieve.I 使用 AzSearchGenerator and for this sample I have 7 files with the same metadata key but with 7 differents values (blob-content-files). I am seeking a way to override the limit of 5 checkboxfacets in the search portal generated (check here : portal-search-generated). Is there a way to change this by including the request url with count parameter higher than 5 checkboxes (storage-explorer-request ) to update the automagic instance in the html code (automagic-intialization-html 生成搜索门户)。
你能告诉我如何完成这个吗?
如果我没理解错的话,你正在寻找一种在 Azure 门户的搜索资源管理器中指定 facet
参数的方法。
只需在查询字符串字段中添加 &facet=category,count:10
即可。例如,请参见下面的屏幕截图。
我终于找到要更新的参数了。在 html 页面(参见打印屏幕 parameter to change)中引用的 AzSearch.bundle.js 中,默认值位于 checkboxfacet 部分的第 44 行。我刚刚用正确的值更新了它,在我的例子中,我输入了 count:30,现在我的复选框中有超过 5 个项目。
Result after change
首先,我不熟悉 javascript,但我看到了 azure 搜索生成器提供具有搜索功能的门户的简单方法,我用它来制作超过 100K 文件的搜索门户。一切都很好,除了我面临这个旧 post (Facet count in Azure cognitive search (Automagic)). Using search explorer I can see the request url needed (example : facet=category,count:10 / https://xxxxxsearch.search.windows.net/indexes/azureblob-index/docs?api-version=2020-06-30-Preview&search=*&facet=category%2Ccount%3A10) 中提到的 5 个方面的限制的相同问题,但无法弄清楚将其放在搜索应用程序 hmtl 页面或我如何将其解析为 automagic 以考虑这一点。
感谢 Gaurav 的反馈。不,那部分对我来说很清楚。请让我展示一个示例,说明我想要 achieve.I 使用 AzSearchGenerator and for this sample I have 7 files with the same metadata key but with 7 differents values (blob-content-files). I am seeking a way to override the limit of 5 checkboxfacets in the search portal generated (check here : portal-search-generated). Is there a way to change this by including the request url with count parameter higher than 5 checkboxes (storage-explorer-request ) to update the automagic instance in the html code (automagic-intialization-html 生成搜索门户)。
你能告诉我如何完成这个吗?
如果我没理解错的话,你正在寻找一种在 Azure 门户的搜索资源管理器中指定 facet
参数的方法。
只需在查询字符串字段中添加 &facet=category,count:10
即可。例如,请参见下面的屏幕截图。
我终于找到要更新的参数了。在 html 页面(参见打印屏幕 parameter to change)中引用的 AzSearch.bundle.js 中,默认值位于 checkboxfacet 部分的第 44 行。我刚刚用正确的值更新了它,在我的例子中,我输入了 count:30,现在我的复选框中有超过 5 个项目。 Result after change