We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The simple query datefield:2019-02-02 seems to be parsed as datefied:2019 by the date parser.
datefield:2019-02-02
datefied:2019
I was able to make it parse properly by giving higher priority to simple parser here:
whoosh/src/whoosh/qparser/dateparse.py
Lines 718 to 719 in 26153e2
The new order reads: (self.plusdate, self.simple, self.datetime)
(self.plusdate, self.simple, self.datetime
But I'm not really sure if it won't have some bad side effects. For my particular purpose parsing ISO date is more important.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The simple query
datefield:2019-02-02
seems to be parsed asdatefied:2019
by the date parser.I was able to make it parse properly by giving higher priority to simple parser here:
whoosh/src/whoosh/qparser/dateparse.py
Lines 718 to 719 in 26153e2
The new order reads:
(self.plusdate, self.simple, self.datetime
)But I'm not really sure if it won't have some bad side effects. For my particular purpose parsing ISO date is more important.
The text was updated successfully, but these errors were encountered: