Skip to content

Commit

Permalink
🔧 Remove distinct index querying
Browse files Browse the repository at this point in the history
  • Loading branch information
techouse committed Mar 20, 2022
1 parent f54fc60 commit 744cab3
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bin/src/constants/config.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class Config {
Config._();

static const String version = '2.0.4';
static const String version = '2.0.5';
static final Uri githubRepositoryUrl =
Uri.https('github.com', '/techouse/alfred-django-docs');
static const String algoliaApplicationId = 'WODHKE4WZG';
Expand Down
1 change: 0 additions & 1 deletion bin/src/services/algolia_search.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class AlgoliaSearch {
'version:${(version ?? Config.supportedVersions.last).replaceAll('v', '')}',
)
.setAttributesToRetrieve(SearchResult.attributesToRetrieve)
.setDistinct(value: 1)
.setPage(0)
.setHitsPerPage(20)
.getObjects();
Expand Down
2 changes: 1 addition & 1 deletion info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
<key>variablesdontexport</key>
<array/>
<key>version</key>
<string>2.0.4</string>
<string>2.0.5</string>
<key>webaddress</key>
<string>https://github.com/techouse</string>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Search the Django documentation using Alfred
# Prevent accidental publishing to pub.dev.
publish_to: 'none'

version: 2.0.4
version: 2.0.5

environment:
sdk: '>=2.16.1 <3.0.0'
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.4
2.0.5

0 comments on commit 744cab3

Please sign in to comment.