Comments (13)
The lazy image loading was causing the issues. I've addressed this in issue #9823. Please pull the latest changes from the master branch and verify.
from bagisto.
To set up Elasticsearch, follow these steps:
-
Configure Elasticsearch:
Use the configuration file from the following link:
https://github.com/bagisto/bagisto/blob/master/config/elasticsearch.php -
Enable Elasticsearch in the Admin Panel:
Go to "Configure >> Products >> Storefront >> Search Mode" and select "Search Mode => Elastic Search". -
Index Products in Elasticsearch:
Run the following command to index existing products:php artisan indexer:index --type=elastic --mode=full
After the initial setup, indexing will automatically occur during product creation, update, and deletion.
from bagisto.
The image load issue is not related to the Faker package. It might be caused by another problem. Try creating symlinks to the storage directory using the following command:
php artisan storage:link
from bagisto.
To set up Elasticsearch, follow these steps:
Configure Elasticsearch:
Use the configuration file from the following link:
https://github.com/bagisto/bagisto/blob/master/config/elasticsearch.phpEnable Elasticsearch in the Admin Panel:
Go to "Configure >> Products >> Storefront >> Search Mode" and select "Search Mode => Elastic Search".Index Products in Elasticsearch:
Run the following command to index existing products:php artisan indexer:index --type=elastic --mode=fullAfter the initial setup, indexing will automatically occur during product creation, update, and deletion.
Could you explain how this search engine can help with the database and images?
from bagisto.
As mentioned in my previous reply, if you have a large catalog, you should use Elasticsearch. With Elasticsearch, products are filtered using Elasticsearch rather than the database. The schema for storing product information is well normalized, and pulling information from multiple tables can cause performance issues. This is why we provided support for Elasticsearch. In the future, we will remove database support for products on the frontend, allowing only Elasticsearch or OpenSearch.
Regarding the image issue, it is not related to the items. It's possible that files have been removed from the storage folder, or there may be another issue. Please check the paths of the broken images to see if the files exist in the storage folder.
from bagisto.
As mentioned in my previous reply, if you have a large catalog, you should use Elasticsearch. With Elasticsearch, products are filtered using Elasticsearch rather than the database. The schema for storing product information is well normalized, and pulling information from multiple tables can cause performance issues. This is why we provided support for Elasticsearch. In the future, we will remove database support for products on the frontend, allowing only Elasticsearch or OpenSearch.
Regarding the image issue, it is not related to the items. It's possible that files have been removed from the storage folder, or there may be another issue. Please check the paths of the broken images to see if the files exist in the storage folder.
The files are in the storage because I didn't touch them and they appear when the items are less in DB.
from bagisto.
Can you share you instance URL so that I can check
from bagisto.
Unfortunately, I have already removed it.
from bagisto.
No problem, let me try to reproduce the issue on my end by creating 50,000 products.
from bagisto.
No problem, let me try to reproduce the issue on my end by creating 50,000 products.
Please check about 1 million products also.
from bagisto.
We have already tested with more than 1 million and elastic search.
from bagisto.
We have already tested with more than 1 million and elastic search.
Could you let me know how to use the Elastic?
This Article isn't applicable.
from bagisto.
You can follow the documentation provided here:
https://devdocs.bagisto.com/2.x/advanced/indexing-products-to-elasticsearch.html#indexing
The images issue has already been fixed, so I am closing this issue.
from bagisto.
Related Issues (20)
- session lose when checkout success HOT 8
- Translation is missing in the customer profile image and add images in the review section. The 'Add Image' text should be localized according to the locale.
- Translation missing in Admin end Order Notifications page.
- Add Footer Text to Invoice PDF
- Category Tree in Admin - show inactive categories HOT 1
- Linux - Apache2 - Class "Webkul\Product\DataTypes\CartItemValidationResult" not found HOT 1
- Adding Subcategories in Category Page HOT 1
- Undefined array key "icon" HOT 3
- i install bagisto from softaculous and it working fine but admin panel does not working why ? HOT 1
- not work after installation if password contains character `#` HOT 1
- Getting ? Symbol rather than ₹ (Indian ruppee currency in invoice) HOT 2
- Add the possibility to register directly when checking out HOT 1
- Product reviews / stars from variations to parent HOT 1
- Missing generic event in product view for new product types in default shop theme HOT 2
- Incorrect implementation of tax when coupon has been applied HOT 1
- [Bug] Remove the state mandatory in the tax rates configuration HOT 4
- SVG file is not saved HOT 2
- In the condition of the cart rule and catalog rule section, float value is not accepted for weight, height, etc. HOT 1
- Issue with Language and Channel Mix-up in Admin Product Form HOT 2
- Categories not showing HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bagisto.