Skip to content

Commit

Permalink
Merge pull request #109 from performant-software/feature/sort-by-name
Browse files Browse the repository at this point in the history
Make 'name' string field sortable during typesense schema creation
  • Loading branch information
blms authored Dec 6, 2024
2 parents 9c8eef0 + 80173b7 commit 1a7d262
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/typesense/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ def create
type: 'geopoint',
facet: false,
optional: true
}, {
name: 'name',
type: 'string',
sort: true,
optional: true
}, {
name: '.*_facet',
type: 'auto',
Expand Down

0 comments on commit 1a7d262

Please sign in to comment.