Customizable Elasticsearch Library
- Renamed Classes: The following .cs files and classes mentioned below are renamed:
- The ElasticCMSPageSearch class & .cs file has been renamed to ElasticCMSPageSearchService.
- The ElasticSearchBase class & .cs file has been renamed to ElasticSearchBaseService.
- The ElasticSearchProvider class & .cs file has been renamed to ElasticSearchProviderService.
- The ElasticSuggestions class & .cs file has been renamed to ElasticSuggestionsService.
- The LoadCMSPageDefaultData class & .cs file has been renamed to CMSPageDefaultDataService.
- The LoadDefaultData class & .cs file has been renamed to DefaultDataService.
- The ElasticCMSPageSearchIndexer class & .cs file has been renamed to ElasticCMSPageSearchIndexerService.
- The ElasticSearchIndexer class & .cs file has been renamed to ElasticSearchIndexerService.
- The GetCountQuery class & .cs file has been renamed to CountQuery.
- The IElasticCMSPageSearch Interface & .cs file has been renamed to IElasticCMSPageSearchService.
- Breaking changes in existing methods: The following methods from the .cs files mentioned below have been updated:
- SearchService.cs
- The dependency registration in object factory container using structure map for IZnodeSearchProvider and IZnodeSearchRequest for its respective classes ElasticSearchProvider and ElasticSearchRequest for object creation have been removed from the constructor of SearchService class.
- ElasticCMSPageSearchIndexerService .cs
- The parameter for ICMSContentPageSearchService type has been removed from the ElasticCMSPageSearchIndexerService constructor parameter list.
- ElasticSearchIndexerService.cs
- The parameter for ISearchProductService & ISearchCategoryService type has been removed from the ElasticSearchIndexerService constructor parameter list.
- The property ProductService of type ISearchProductService used for the reference to hold created object has been renamed to searchProductService and converted to protected read-only variable type.
- The namespace of BaseQuery.cs, MatchPhrasePrefixQueryBuilder.cs, MatchPhraseQueryBuilder.cs, MatchQueryBuilder.cs and MultiMatchQueryBuilder.cs has been changed to “Znode.Libraries.ElasticSearch” from “Znode.Libraries.Search”.
- SearchService.cs
- Removed Class: The following methods from the .cs files mentioned below are removed.
- ElasticCMSPageSearchIndexerService .cs
- The property CmsPageService of type ICMSContentPageSearchService used for the reference to hold created object has been removed.
- ElasticSearchIndexerService.cs
- The property CategoryService of type ISearchCategoryService used for the reference to hold created object has been removed.
- ElasticCMSPageSearchIndexerService .cs