You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From there the types that belong to my schema are actually the id which is of type u64 and created_at which is of type DateTime<Utc> from chrono. However, to test the validity of my program I'm using tantivy::DateTime::default() as follows:
Describe the bug
I created a blank schema with the following types:
From there the types that belong to my schema are actually the
id
which is of typeu64
andcreated_at
which is of typeDateTime<Utc>
from chrono. However, to test the validity of my program I'm usingtantivy::DateTime::default()
as follows:When trying to query all I get is:
Error parsing term: DateFormatError(ParseFromDescription(InvalidComponent(\"year\")))"
Even for simple queries like a number or a letter. I tried removing fields from the
searcher
but no luck.To query by date without issue.
Which version of tantivy are you using?
Let me know if this is enough, if not I can try to be more specific or even look for a minimum set for reproduction.
The text was updated successfully, but these errors were encountered: