What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Elasticsearch return always 10 records, anyone can guide me how to return all data or how can custom
![U02HE8RULAG](https://us.v-cdn.net/6037907/uploads/defaultavatar/nNMRX71LIK73F.jpg)
Elasticsearch return always 10 records, anyone can guide me how to return all data or how can customise filters for products.For example in redis have around 30+ merchant but it is showing only 10 on store front
Comments
-
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,035 βοΈ - Guardians (admin)Options
Hey @U02HE8RULAG, please try to post your question just in one channel π otherwise it will be much harder to see which questions are answered or discussed and which not π
0 -
Oh, I thought that different people in both channel.Thanks for your suggestion i will keep in mind next time.
0 -
Can you suggest me @florian.scholz
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,035 βοΈ - Guardians (admin)Options
Have you checked if there is a limit set somewhere?
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,035 βοΈ - Guardians (admin)Options
For this you need to debug the query sent to elasticsearch
0 -
Nothing set i have tried blank search
/en/search?q=
0 -
Every Filter return 10 only while we have more than 10 data
0 -
-
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,035 βοΈ - Guardians (admin)Options
i mean debug in code, have a look in vendor/spryker/search-elasticsearch/src/Spryker/Client/SearchElasticsearch/Search/Search.php and set a xdebug breakpoint there. and evaluate the expression json_encode($query->getSearchQuery()->toArray(), true)
0 -
- I think i got that size = 10 in this json. Please confirm below size is responsible for all facet filter
*field*: "string-facet.facet-name"
*size*: 10
0 -
-
you can do a
setSize
on the query... if you want it global, you can do it on your base query plugin0 -
the one you have defined in
createCatalogSearchQueryPlugin
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 63 Spryker News
- 854 Developer Corner
- 719 Spryker Development
- 80 Spryker Dev Environment
- 360 Spryker Releases
- 3 Oryx frontend framework
- 33 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 21 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 66 Spryker Safari Questions
- 50 Random