Comments (5)
Can you provide some sample documents and the values that you are using for $date_begin
, $date_end
and $timezone
?
I have tried to replicate this, but all I'm getting are 500 exceptions from Elasticsearch regarding shard failures while aggregating (presumably because I don't have the same docs as you, so the aggregations are failing for purely logistical reasons)
Also, why are you suppressing 500 errors in the search request? If you receive a 500 it almost certainly means something went wrong and Elasticsearch couldn't complete your request. I can't think of a good reason to ignore 500s.
from elasticsearch-php.
Ok my bad, it was actually an index trouble, nothing to do with the client.
from elasticsearch-php.
Pheww, you had me worried there was some terrible bug with the new aggregation code :) Glad you got it sorted out
Let me know if you run into any more troubles!
from elasticsearch-php.
Can we use it in array format instead of JSON ?
from elasticsearch-php.
@alwinaugustin Yeah, of course :) In fact, the array syntax is preferred, since it is easier for PHP apps to build them iteratively.
Raw JSON strings are supported because they are handy for quick tests and debugging, or migrating from some other system
from elasticsearch-php.
Related Issues (20)
- Aye
- Requiring `guzzlehttp/guzzle` causes roadblocks HOT 2
- $es_client->index($params) Response nginx 405 HOT 1
- Elasticsearch behind Proxy Server HOT 2
- Response object is empty after logging
- Logs are not sent in Laravel queues when use async log HOT 2
- Changelog for latest version 8.10.0 HOT 1
- Path in hosts configuration is ignored HOT 2
- check the index exsists ,it have a error HOT 1
- Connecting to Elasticsearch v8.x using the v7.17.x client HOT 1
- Received a 403 Forbidden error when attempting to index HOT 1
- `Response\Elasticsearch::offsetGet()` return type declaration HOT 2
- Need a new Release 6.8.3 HOT 4
- ServerError was not handled correctly. HOT 2
- Add support for Elasticsearch with Bulk API and data stream HOT 1
- How to pass specific characters password to ElasticSearch through Sulu/ArticleBundle HOT 5
- [Request feedback] Looking for feedback about the UX experience
- Calling static trait method ... is deprecated HOT 1
- Inquiries about version use HOT 2
- [Proposal] Add a mapTo(class) function for map ES|QL response into objects HOT 1
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 elasticsearch-php.