Sitecore\u路径字段在Solr索引中返回NULL

Sitecore\u路径字段在Solr索引中返回NULL,solr,lucene,sitecore,sitecore8,Solr,Lucene,Sitecore,Sitecore8,我正在为Sitecore使用Solr索引 但是,搜索结果总是为_路径字段返回null 它正在为Lucene工作。索尔需要特殊治疗吗 以下是玻璃贴图器属性: [IndexField("_path"), TypeConverter(typeof(IndexFieldEnumerableConverter))] [SitecoreIgnore] public virtual System.Collections.Generic.IEnumerable<ID>

我正在为Sitecore使用Solr索引

但是,搜索结果总是为_路径字段返回null

它正在为Lucene工作。索尔需要特殊治疗吗

以下是玻璃贴图器属性:

[IndexField("_path"), TypeConverter(typeof(IndexFieldEnumerableConverter))]
        [SitecoreIgnore]
        public virtual System.Collections.Generic.IEnumerable<ID> EntityPath { get; set; }
[IndexField(“\u path”)、类型转换器(typeof(indexfieldnumerableconverter))]
[SitecoreIgnore]
公共虚拟系统.Collections.Generic.IEnumerable EntityPath{get;set;}
SOLR模式有以下条目:

<field name="_path" type="string" indexed="true" stored="false" multiValued="true" />

将“存储”设置更改为true:

<field name="_path" type="string" indexed="true" stored="true" multiValued="true" />


存储属性将确保原始值保留在索引中以供检索。否则,您可以在字段中搜索,但不能获取它

您是否尝试过使用
stored=“true”
?是的,就是这样。谢谢,我将移动评论以回答。。