Giter Site home page Giter Site logo

Error error parsing created field: parsing time "1714686445000000000" as "2006-01-02T15:04:05Z07:00": cannot parse "686445000000000" as "-" about bleve HOT 9 CLOSED

prologic avatar prologic commented on July 20, 2024
Error error parsing created field: parsing time "1714686445000000000" as "2006-01-02T15:04:05Z07:00": cannot parse "686445000000000" as "-"

from bleve.

Comments (9)

CascadingRadium avatar CascadingRadium commented on July 20, 2024 1

hi i have repro'd the issue, will put out the fix soon
thanks

from bleve.

abhinavdangeti avatar abhinavdangeti commented on July 20, 2024

@prologic would you perhaps share some sample code and/or more details here that could aid us in reproducing the situation.

@CascadingRadium would you look into this please.

from bleve.

prologic avatar prologic commented on July 20, 2024

All the code is here: https://git.mills.io/yarnsocial/search

Unfortunately I found this out by accident, so I haven't had much time to dig into it to build a reproducer.

I noticed this in a local dev environment, and just (wrongly) assumed my local index db was corrupt, blew it away and thought nothing of it. But this is happening in my production app at https://search.twtxt.net/

Let me know what I can do to help debug this 🙏 I can probably shove the index somewhere for you?

from bleve.

prologic avatar prologic commented on July 20, 2024

Meanwhile I'm going to take a copy of the production index and see if the error reproos locally to debug.

from bleve.

CascadingRadium avatar CascadingRadium commented on July 20, 2024

fix #2030

from bleve.

prologic avatar prologic commented on July 20, 2024

Oh wow that was fast! Sorry guys I had to go to bed, I couldn't wait to copy the production DB I have to repro locally which is 2.1G Tar uncompressed 😅 Thanks so much for the fast fix! I assume we'll release/tag a new patch/minor release?

from bleve.

prologic avatar prologic commented on July 20, 2024

Thank you! This bug appears to be fixed!

Example: https://search.twtxt.net/search?q=conv:%23f57rmoq&s=created&s=_id

I upgraded to v2.4.1-0.20240503220319-1a19544cd875 in 3031765b98

from bleve.

CascadingRadium avatar CascadingRadium commented on July 20, 2024

hi @prologic bleve version v2.4.1 has been released with the fix. please use
github.com/blevesearch/bleve/v2 v2.4.1
in the go.mod thanks

from bleve.

prologic avatar prologic commented on July 20, 2024

I hate to report, but this has happened again.

Error error parsing created field: parsing time "1714591133000000000" as "2006-01-02T15:04:05Z07:00": cannot parse "591133000000000" as "-"

Reproducible currently in prod: https://search.twtxt.net/search?q=Hello+World&f=

Notably not all queries are failing.

Also of note, no update to the bleve dependency this time. According to Git blame I'm using github.com/blevesearch/bleve/v2 v2.4.1-0.20240503220319-1a19544cd875 and that was update 2 months ago from this issue report and initial fix.

from bleve.

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.