Coder Social home page Coder Social logo

Comments (4)

honzakral avatar honzakral commented on September 21, 2024

I cannot see anything you are doing wrong here, seems to be a bug in Elasticsearch itself. Could you produce a minimal script that replicates this issue so we can file a ticket for elasticsearch? Thanks!

from elasticsearch-dsl-py.

amitpandita avatar amitpandita commented on September 21, 2024

Hi Honza,

Please find the script below:

from elasticsearch import Elasticsearch
from elasticsearch_dsl import Search
from datetime import date

es = Elasticsearch()

s = Search(using = es).index('index_name').doc_type('doc_type_name')

s = s.filter('range',date_field = {"from": date(2014,11,1)})

s.aggs.bucket('ranges', 'date_histogram', field='date_field', interval='month',post_zone="-5:30",min_doc_count=0)

r = s.execute()

r.aggregations.ranges.buckets

from elasticsearch-dsl-py.

cbuescher avatar cbuescher commented on September 21, 2024

Hi,
this looks very similar to an open issue we have here:
elastic/elasticsearch#7673

from elasticsearch-dsl-py.

honzakral avatar honzakral commented on September 21, 2024

yes, closing this since this is an Elasticsearch issue outside of python. Thanks for the report.

from elasticsearch-dsl-py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.