上面是特定索引的架构浏览器屏幕的屏幕截图。该字段是品牌.
字段类型定义如下:
<fieldType name="wc_keywordText" class="solr.TextField" sortMissingLast="true" omitNorms="true">
<analyzer>
<tokenizer class="solr.KeywordTokenizerFactory"/>
<filter class="solr.TrimFilterFactory" />
</analyzer>
</fieldType>
索引、标记化、存储……等是字段的属性。任何人都可以解释它对于架构和索引(红色框中的颜色)等其余部分的含义。
我认为,这描述了一个字段的这些属性的来源。最初,当您有一个空索引时,此屏幕仅包含属性行,这让我直觉地认为特性是取自模式.xml
Index row appears only after I added some documents to the Solr index. For example, my id field isn't stored and than, I do not have information in this row for this field (pay attention to the (unstored field) text)
And the row Schema, here is a bit tricky to me. I was thinking that this has something to do with Schema API, like when you create field/update field via REST calls, than this Schema row will represent. However, it turns out different, if I modify the field type (for example add support for docValues for the field, which didn't have it), you will have this screen.
这让我想到,模式行实际上代表模式中正在发生的事情,而属性则具有当前的行。请记住,我已经add支持 docValues。这让我想到,如果你有经典索引模式工厂,比架构和属性行应该相同,如果有的话托管索引模式工厂,这些行可能不同。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)