Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 868 Bytes

filterqueries.md

File metadata and controls

15 lines (12 loc) · 868 Bytes

Filter Queries File Configuration

A simple text file, each line should be the extact text you want to put on the "fq" parameter. This file is used by the FileQueryExtractor class. You can put multiple filter queries on the same line if you want them all to be used as one (on the same query). You can also use blank lines if you want the query to execute some queries with no filter queries.

Example

category:animal

category:vegetable
categoty:vegetable price:[0 TO 10] 
categoty:vegetable price:[10 TO *] 

Also, you can check de example file from the sorce code, this example works just fine with the solr example.