I have just installed magento2.4 with sample data. Setup looks fine from frontend and backend also, but facing 2 issues -
1 - when I run 'indexer:reindex' command, it giving me below issue -
Catalog Search index process unknown error: {"error":"MapperParsingException[No handler for type [text] declared on field [_search]]","status":400}
don't know why it is giving this issue,
2 - I have created one more website/store in same instance. Created a different root category and 2sub categories in it, and also assigned products to these new subcategories, but products not showing on frontend over this website. On default website they are showing properly.
I checked, they are in-stock, have qty greater then 0, assigned to respective website also.
run indexer and cache clean command multiple time..but no success.
Both site's frontend URl's are -
http://localhost/mage2/us (on this products showing properly)
http://localhost/mage2ca (Same products not showing here)