SHOPWARE6 DAL指数在SW6中的作用是什么?

发布于 2025-02-03 14:28:37 字数 152 浏览 5 评论 0原文

据我了解,弹性搜索可用于SW6中的搜索功能。

控制台命令ES:索引可用于构建该索引,索引本身的数据将存储在弹性搜索群集中。

我不明白的是DAL索引的作用也与 dal:刷新:索引命令。

此索引在哪里存储数据?
在什么情况下(例如)使用此索引?

As far as I understand, Elastic Search can be used for the search functionality in SW6.

The console command es:index can be used to build up that index, and the data of the index itself will be stored in the Elastic Search cluster.

What I don't understand is the role of the DAL index also in conjunction with the
dal:refresh:index command.

Where does this Index store its data?
In what cases (for example) is this index used?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

堇年纸鸢 2025-02-10 14:28:37

例如,当您更改SEO-url结构时,您需要使用该命令。

,产品是这样的:

https://example.com/productname/productname/productname

例如 该结构的更改您需要使用命令:

php bin/console dal:refresh:index command.

然后将这些Infos写在SEO_URL表中。更改结构并重新索引您的URL的频率越多,在SEO_URL表中为同一产品进行了越多的条目。

因此,如果您进行测试,则应在舞台环境中进行测试。

you need to use that command when you change your SEO-URL structure for example.

The products for example are like this:

https://example.com/productname/productnumber

If you make changes in that structure you will need to use the the command:

php bin/console dal:refresh:index command.

Those infos then are written in the seo_url table. The more often you change the structure and re-index your URLs the more entries are made in the seo_url table for the same product.

So if you make tests you should do them on a staging environment.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文