Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wildcard doesn't work for number strings #9

Open
paul-uz opened this issue May 13, 2022 · 4 comments
Open

Wildcard doesn't work for number strings #9

paul-uz opened this issue May 13, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@paul-uz
Copy link

paul-uz commented May 13, 2022

I am trying to use createdAt:2022-01-01* but get a syntax error.

createdAt is an ISO date string eg 2021-12-25T00:00:00.000Z

I also tried

createdAt:2021* - syntax error
createdAt:"2021*" - no syntax error but doesnt return the right results
createdAt:"2021"* - syntax error

Other string fields work fine eg name:item* returns matches for item 1, item 2 and item 3

@paul-uz
Copy link
Author

paul-uz commented May 30, 2022

@gajus any ideas on this? If you aren't actively working on this project, and someone could point me towards how to implement parsing of date strings, I'd give it a go myself, but I was confused as heck looking at the innre working sof this library ha

@gajus gajus added the enhancement New feature or request label Sep 29, 2022
@gajus
Copy link
Owner

gajus commented Sep 29, 2022

Feel free to contribute a patch. Documentation includes contribution guidelines.

@paul-uz
Copy link
Author

paul-uz commented Sep 29, 2022

@gajus sadly I have no clue how to patch this

@gajus
Copy link
Owner

gajus commented Sep 29, 2022

If this is high-priority, you can hire me as a consultant to work on this

https://contra.com/s/gUvPcLrL-open-source-consultation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants