title | issue |
---|---|
Implement search index in search module |
NEXT-11994 |
- Added new
sw-settings-search-search-index
component insw-settings-search
module for display the rebuild search index section. - Added
sw-settings-search-live-search/sw-settings-search-search-index.html.twig
with these new blockssw_settings_search_search_index
sw_settings_search_search_index_description
sw_settings_search_search_index_warning_top
sw_settings_search_search_index_warning_bottom
sw_settings_search_search_index_rebuild_button
sw_settings_search_search_index_lastest_build
sw_settings_search_search_index_rebuild_progress
sw_settings_search_search_index_rebuild_progress_text
sw_settings_search_search_index_rebuild_progress_bar
- Added
sw-settings-search-search-index/index.js
with these new dataisLoading
,isRebuildSuccess
,rebuildInProgress
,progressBarValue
,offset
,syncPolling
,totalProduct
,latestProductIndexed
. - Added
sw-settings-search-search-index/index.js
with these new computedproductRepository
,productSearchKeywordRepository
,productCriteria
,productSearchKeywordsCriteria
,latestBuild
. - Added
sw-settings-search-search-index/index.js
with these new methodscreatedComponent()
,beforeDestroyComponent()
,getTotalProduct()
,updateProgress()
,pollData()
,clearPolling()
,rebuildSearchIndex()
,buildFinish()
. - Added
/src/module/sw-settings-search/service/productIndex.api.service.js
for building products index. - Changed
init/services.init.js
insw-settings-search
module to add the registration forproductIndexServive
- Changed block
sw_setting_search_tabs_general
andsw_setting_search_tabs_live_search
insw-settings-search/page/sw-settings-search/sw-settings-search.html.twig
to bind the$props
. - Changed the block
sw_settings_search_search_index_card
insw-settings-search/view/sw-settings-search-view-general/sw-settings-search-view-general.html.twig
to render thesw-settings-search-search-index
component.