Skip to content

Commit

Permalink
Updates order of attributes on config component
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Nov 5, 2018
1 parent 35d0d35 commit 841c002
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions resources/views/config.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,35 +20,50 @@

/*
|--------------------------------------------------------------------------
| Disable Typo Tolerance
| Custom Ranking
|--------------------------------------------------------------------------
|
| Algolia provides robust "typo-tolerance" out-of-the-box. This parameter accepts an
| array of attributes for which typo-tolerance should be disabled. This is useful,
| for example, products that might require SKU search without "typo-tolerance".
| To return great results, custom ranking attributes are applied after records
| sorted by textual relevance. Said another way, if two matched records have
| the same match textually, we resort to custom ranking to tie-break.
|
| Supported: Null, Array
| Example: ['id', 'sku', 'reference', 'code']
| Examples: ['desc(comments_count)', 'desc(views_count)']
|
*/

'disableTypoToleranceOnAttributes' => {!! $disableTypoToleranceOnAttributes ?? 'null' !!},
'customRanking' => {!! $customRanking ?? 'null'!!},

/*
|--------------------------------------------------------------------------
| Custom Ranking
| Remove Stop Words
|--------------------------------------------------------------------------
|
| To return great results, custom ranking attributes are applied after records
| sorted by textual relevance. Said another way, if two matched records have
| the same match textually, we resort to custom ranking to tie-break.
| Stop word removal is useful when you have a query in natural language, e.g.
| “what is a record?”. In that case, the engine will remove “what”, “is”,
| before executing the query, and therefore just search for “record”.
|
| Supported: Null, Boolean, Array
|
*/

'removeStopWords' => {!! $removeStopWords ?? 'null' !!},

/*
|--------------------------------------------------------------------------
| Disable Typo Tolerance
|--------------------------------------------------------------------------
|
| Algolia provides robust "typo-tolerance" out-of-the-box. This parameter accepts an
| array of attributes for which typo-tolerance should be disabled. This is useful,
| for example, products that might require SKU search without "typo-tolerance".
|
| Supported: Null, Array
| Examples: ['desc(comments_count)', 'desc(views_count)']
| Example: ['id', 'sku', 'reference', 'code']
|
*/

'customRanking' => {!! $customRanking ?? 'null'!!},
'disableTypoToleranceOnAttributes' => {!! $disableTypoToleranceOnAttributes ?? 'null' !!},

/*
|--------------------------------------------------------------------------
Expand Down Expand Up @@ -97,21 +112,6 @@

'ignorePlurals' => {!! $ignorePlurals ?? 'null' !!},

/*
|--------------------------------------------------------------------------
| Remove Stop Words
|--------------------------------------------------------------------------
|
| Stop word removal is useful when you have a query in natural language, e.g.
| “what is a record?”. In that case, the engine will remove “what”, “is”,
| before executing the query, and therefore just search for “record”.
|
| Supported: Null, Boolean, Array
|
*/

'removeStopWords' => {!! $removeStopWords ?? 'null' !!},

/*
|--------------------------------------------------------------------------
| Query Languages
Expand Down

0 comments on commit 841c002

Please sign in to comment.