Skip to content

Commit cc7b7e0

Browse files
authored
Update filters.md
1 parent ba67817 commit cc7b7e0

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

docs/add-ons/pro-search/filters.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,23 @@
1010

1111
[TOC]
1212

13+
Different type of Filters are automatically used by the `pro_search:results` tag when the query form uses specific field names, or the results tag includes specific parameters.
14+
15+
For instance, if a search form contains a `keywords` field, the [Keywords filter](#keywords-filter) will be invoked. If the results tag has a `distance:to="cf_entry_lat|cf_entry_long"` parameter, the [Distance filter](#distance-filter) will be used. If the `search:field_name` parameter or field is used, Pro Search will use the [Field Search filter](#field-search) on the results
1316

1417
## Keywords Filter
1518

16-
The Keywords filter lets you filter entries by search terms (ie. keywords). You need to create at least one Collection to use the Keywords filter. (You don't need a collection for other types of filters.)
19+
The Keywords filter lets you filter entries by search terms (ie. keywords) and calculates a relevance score to each item in the search results.
1720

18-
Using the Keywords filter also adds a relevance score to the search results. To further fine-tune a keyword search, the following parameters are available.
21+
NOTE: **Note:** You need to create at least one [Collection](add-ons/pro-search/collections.md) to use with the Keywords filter. (You don't need to create a collection to use the other types of filters, just when using Keywords.)
1922

23+
To further fine-tune a keyword search, the following parameters are available.
2024

2125
### Parameters
2226

2327
#### collection
2428

25-
Limit search results to given collection names or IDs. If this is not specified and keywords are given, results will use all collections
29+
Limit search results to specified [collections](add-ons/pro-search/collections.md) (names or IDs). If this parameter is not used and keywords are being searched, EE will search in all collections, so it's best to use this rather than `channel=` in the results.
2630

2731
collection="news|staff"
2832

0 commit comments

Comments
 (0)