I'm looking for a Solr query parser that can parse out and correctly apply filter queries, leaving anything not specified with a field as a general search term.
So:
tags:sql title:mysql recordset
This would do the following:
- Create a FilterQuery query for records with "sql" in the "tags" field
- Create a FilterQuery for records with "mysql" in the "title" field
- Create a normal query for records with "recordset" in the default field
Does such a query parser exist?
Edit: I've found that if I search for "*" as the query, and then do the "qf" param as this, it works:
tags:sql AND title:mysql AND recordset
What are the drawbacks to doing this? I assume scoring would be all wrong?