Jupiter.Market.Elastic.Comparables.Services.ElasticIndexService
Handles indexing, cleanup, and synchronization of deal data with the !:Elastic.ComparablesIndex in Elasticsearch.
This service manages the lifecycle of the Comparables Index, reading from Table.Deal, Table.Listing, Table.Sale, and Table.Lease to populate and maintain the index.
See the detailed conceptual article: ElasticIndexService Logic.
Methods
#ctor
Initializes a new instance of the #ctor class.
Parameters:
- esOptions: Elasticsearch settings.
- indexerOptions: Indexer settings.
- dataService: The data service for deal retrieval.
- serviceBusMessageService: The service bus message service for deal messaging.
- logger: The logger instance.
- serviceBusSettingsOptions: Service Bus settings.
Jupiter.Market.Elastic.Comparables.Services.ElasticIndexService.InitAsync
No summary available.
Jupiter.Market.Elastic.Comparables.Services.ElasticIndexService.GetClientAsync
No summary available.
Returns: The instance.
GetMissingEntries
No summary available.
Parameters:
- sendToServiceBus: Whether to send missing entries to Service Bus.
CleanElasticIndexAsync
No summary available.
Parameters:
- comparableType: Optional comparable type filter.
Jupiter.Market.Elastic.Comparables.Services.ElasticIndexService.DeleteIndex
No summary available.
Jupiter.Market.Elastic.Comparables.Services.ElasticIndexService.CreateIndex
No summary available.
UpsertIndex
No summary available.
Parameters:
- comps: The list of deals to upsert.
DeleteFromIndex
No summary available.
Parameters:
- dealId: The deal ID to delete.