The search engine used within Umbraco
Last updated 4 years ago
Was this helpful?
IndexerComponent : IComponent Public void Initialize() { externalIndex.FieldDefinitionCollection.AddOrUpdate(new FieldDefinition("FieldName", "FieldDataOrContent")); }
In the same file - IndexerComponent.cs
IndexerComponent.cs
private void IndexResourceSpecificProperties(IndexingItemEventArgs e, ResourceItem resourceItem) { try { var resourceDate = resourceItem.ResourceDate; e.ValueSet.Add(Constants.Resources.ResourceDateSortableExamineField, resourceDate.Ticks);