1
SitecoreにSolrインデックスを使用しています。Sitecore _pathフィールドはSolrインデックスでNULLを返します
ただし、検索結果では常に_pathフィールドにnullが戻されます。
Luceneに取り組んでいました。 Solrは特別な治療が必要ですか?以下は
ガラスマッパープロパティです:
[IndexField("_path"), TypeConverter(typeof(IndexFieldEnumerableConverter))]
[SitecoreIgnore]
public virtual System.Collections.Generic.IEnumerable<ID> EntityPath { get; set; }
そしてSOLRスキーマは、以下のエントリーがあります。
<field name="_path" type="string" indexed="true" stored="false" multiValued="true" />
'stored =" true "'を試しましたか? – Gatogordo
そうだった。ありがとう –
答えにコメントを移動します.. – Gatogordo