We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 496b4a4 commit e766375Copy full SHA for e766375
examples/json_field.rs
@@ -82,13 +82,8 @@ fn main() -> tantivy::Result<()> {
82
let hits = searcher.search(&*query, &TopDocs::with_limit(2))?;
83
assert_eq!(hits.len(), 0);
84
}
85
- // ## Default json fields are ignored if they collide with the schema
86
- {
87
- let query = query_parser.parse_query("holiday-sale")?;
88
- let hits = searcher.search(&*query, &TopDocs::with_limit(2))?;
89
- assert_eq!(hits.len(), 0);
90
- }
91
{
+ // Default json fields are ignored if they collide with the schema
92
let query = query_parser.parse_query("event_type:holiday-sale")?;
93
94
0 commit comments