typesense 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/examples/search.rb +3 -1
- data/lib/typesense/collections.rb +2 -2
- data/lib/typesense/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 173e451d6ea840eb9dd625340b7f0350ae3e7343dacfff09584b3749116e7090
|
4
|
+
data.tar.gz: c0fbeb2881f825e49ec507cea288482ed52d398d8bf81bbc45da699f1a5305cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56d66cb6510b179d25e33ea7534bd4a75f299d9dd5e51392654d9e88d62850004b1a2c099e73aa8261deddb01f2a8cc8e77f9775fea532fce0acd922bd98716e
|
7
|
+
data.tar.gz: b6f6ea0103b926619e56e5f9a4d44d06ee33fde3822c2c6e20029a2506d2d699d5f8c2c53ea0c620389f20f2dff6a27429aa003d1cd55d62b096a99e9ee1f965
|
data/examples/search.rb
CHANGED
@@ -110,7 +110,9 @@ ap results
|
|
110
110
|
# Search for more documents
|
111
111
|
results = @typesense.collections['companies'].documents.search(
|
112
112
|
'q' => 'Non-existent',
|
113
|
-
'query_by' => 'company_name'
|
113
|
+
'query_by' => 'company_name',
|
114
|
+
# Optionally add a user id if you use Analytics & Query Suggestions
|
115
|
+
'x-typesense-user-id' => 42
|
114
116
|
)
|
115
117
|
ap results
|
116
118
|
|
data/lib/typesense/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: typesense
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Typesense, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oj
|