-
-
Notifications
You must be signed in to change notification settings - Fork 781
Closed
Description
Describe the bug
- I am trying to run an exists query through
QueryParser
, for examplename:*
. - I get this error:
Unsupported query: Range query need to target a specific field.
, I assume Fix error message when converting user input exists query into logical ast #2218 is related. - I expected to get a query that matches all items with a name
Which version of tantivy are you using?
0.22.0
To Reproduce
- Have a Tantivy setup, I didn't find any correlation with field types or anything.
- Have QueryParser, e.g.
let query_parser = QueryParser::for_index(&index, vec![ ...your default fields... ])
- Try to parse an exists query
query_parser.parse_query("name:*")
- You get the above error :(
Metadata
Metadata
Assignees
Labels
No labels