SOLR: _text_ 字段默认情况下是否可以作为包罗万象的功能?

发布于 2025-01-18 02:28:28 字数 389 浏览 2 评论 0原文

我开始研究基于 SOLR 的搜索系统,并且仍在尝试弄清楚是什么...

我注意到 _text_ 字段充当“包罗万象”的功能”字段,尽管没有定义用于执行此操作的 copyField
它只是收集所有内容(文档内容、标签、关键字等)。

我唯一拥有的就是这一行:

    <field name="_text_" type="text_general" indexed="true" stored="false" multiValued="true"/>

这是标准行为吗?
到底是什么让它在这种情况下发挥作用?

谢谢。

I started working on a SOLR-based search system, and I'm still trying to figure-out what's-what...

I noticed that the _text_ field works as a "catch-all" field, although there is no copyField defined to do this.
It simply gathers everything (documents content, tags, keywords, etc...).

The only thing I have is this line:

    <field name="_text_" type="text_general" indexed="true" stored="false" multiValued="true"/>

Is this the standard behaviour ?
What exactly makes it work as catch-all in this case ?

Thanks.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文