Skip to content

Commit 41fbd77

Browse files
authored
Merge pull request #1130 from ExpressionEngine/Pro-Search-additional-mods
few small tweaks to pro search docs
2 parents 83950d0 + 185797e commit 41fbd77

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ For instance, if a search form contains a `keywords` field, the [Keywords filter
1818

1919
The Keywords filter lets you filter entries by search terms (ie. keywords) and calculates a relevance score for each item in the search results.
2020

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.)
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.)
2222

2323
To further fine-tune a keyword search, the following parameters are available.
2424

2525
### Parameters
2626

2727
#### collection
2828

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.
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.
3030

3131
collection="news|staff"
3232

@@ -228,11 +228,11 @@ The unit for the distances, either km, mi, m or yd. Defaults to km.
228228

229229
The calculated distance in the given unit for this entry. The Distance filter makes this variable available in the [Results tag](/add-ons/pro-search/tags.md#exppro_searchresults).
230230

231-
NOTE: **Note:** Using the Distance filter will return the search results ordered by distance instead of keyword relevance (if applicable). You can override this by explicitly setting the orderby parameter to `relevance`.
231+
NOTE: **Note:** Using the Distance filter will return the search results ordered by distance instead of keyword relevance (if applicable). You can override this by explicitly setting the orderby parameter to `pro_search_score`.
232232

233233
## Field Search
234234

235-
Use the native `search:field_name` parameter to target specific fields, just like `channel:entry` does already. Additionally, Pro Search's `pro_search:results` can target the entry’s ***title***, ***url_title***, ***status***, and target [Grid](/fieldtypes/grid.md) columns. It can also use multiple values for [numeric matching](/channels/entries.md#numeric-matching) (in combination with the `gt`, `gte`, `lt` and `lte` params), and use ***starts / ends with*** matching.
235+
Use the native `search:field_name` parameter to target specific fields, just like `channel:entries` does already. Additionally, Pro Search's `pro_search:results` can target the entry’s ***title***, ***url_title***, ***status***, and target [Grid](/fieldtypes/grid.md) columns. It can also use multiple values for [numeric matching](/channels/entries.md#numeric-matching) (in combination with the `gt`, `gte`, `lt` and `lte` params), and use ***starts / ends with*** matching.
236236

237237
### Parameters
238238

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Apart from the powerful [keywords filter](/add-ons/pro-search/filters.md#keyword
2222
- Relationships: Filter based on an entry’s [relationship](/add-ons/pro-search/filters.md#relationships) with other entries;
2323
- Math: Filter by [Grid calculations](https://github.com/low/low_search_table) like min/max values or averages;
2424
- Author: Filter by [Author fields](https://github.com/low/low_search_members) like screen name or email;
25-
- SQL: Filter a field based on a [SQL query](/add-ons/pro-search/parameters.html#sql-parameters)
25+
- SQL: Filter a field based on a [SQL query](/add-ons/pro-search/parameters.md#sql-parameters)
2626

2727
Other features include:
2828

0 commit comments

Comments
 (0)