我建立一个新的模式,我尝试使用新的solr.IntPointField
代替solr.TrieIntField
的。
一切都很好,到目前为止,除了我不能代表所有的文件与任何值搜索特定的领域。
通常我会做foo:*
但它不返回任何结果。
这里是我的架构
<fields>
<field name="foo" type="pint" indexed="true" stored="true" multiValued="false"/>
</fields>
<types>
<fieldType name="pint" class="solr.IntPointField" docValues="true"/>docValues="true" />
...
</types>
常用的语法,发现有一个值给定域是foo:[* TO *]
任何文件。这也应该适用于该点类型。