Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个未在我的 schema.xml 中定义的 Solr 字段,但它是我的 Solr 文档的一部分。我在查询字段内容时遇到问题。这是因为默认情况下它不可搜索还是什么?
谢谢!
如果我们假设您没有动态创建字段并且想要在字段上搜索:您应该将其定义为在您的架构中建立索引。IE:
<field name="content" type="text_tr" stored="true" indexed="true"/>