November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Can you try to index the property explicitly as suggested in following solution
Code sample
[InitializableModule]
[ModuleDependency(typeof(IndexingModule))]
public class PageSearchInitialization : IInitializableModule
{
public void Initialize(InitializationEngine context)
{
SearchClient.Instance.Conventions
.ForInstancesOf<SomePage>()
.IncludeField(x => x.SomeField);
}
}
I am not sure you were already indexing that property or not.
Yes, I’m using this solution now, but it doesn’t work. But I noticed a feature that the custom models that we write to the index are updated by id, and everything regarding IContent does not work
Good afternoon. Faced the problem of updating the field in the find index after upgrading episerver find to version 13. It worked like that. There is a ContentData object for which is added to UnifiedSearch. An id is defined for it using `.IdIs (x => DocumentId.Create (x.Id))`. `IdAttribute` is added to the id field.Now when I try to update some field for this content, I get an error that the content does not exist in find. For this i use:
var id = SearchClient.Instance.Conventions.IdConvention.GetId({contentId});
SearchClient.Instance.Update<T>(id).Field(x => x.SomeField(), d.SomeField()).Execute();
Error:
"RemoteTransportException[Index][indices:data/write/update]]; nested: DocumentMissingException[[index][1] [SomeType][SomeId]: document missing]; "
This code worked fine on the previous version of episerver find (12.7.1). Help me please!