Skip to content

Commit 08bb7ba

Browse files
committed
chore: updates version for RC release
1 parent b391077 commit 08bb7ba

File tree

20 files changed

+35
-35
lines changed

20 files changed

+35
-35
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "orama-monorepo",
3-
"version": "3.0.0-rc-1",
3+
"version": "3.0.0-rc-2",
44
"description": "Next generation full-text and vector search engine, written in TypeScript",
55
"workspaces": [
66
"packages/*",

packages/benchmarks/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "benchmarks",
3-
"version": "3.0.0-rc-1",
3+
"version": "3.0.0-rc-2",
44
"private": true,
55
"scripts": {
66
"bench:group": "node src/group.bench.js",

packages/docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@orama/docs",
3-
"version": "3.0.0-rc-1",
3+
"version": "3.0.0-rc-2",
44
"description": "Documentation for Orama",
55
"private": true,
66
"type": "module",

packages/orama/README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ instance and set an indexing schema:
6767
```js
6868
import { create, insert, remove, search, searchVector } from '@orama/orama'
6969

70-
const db = await create({
70+
const db = create({
7171
schema: {
7272
name: 'string',
7373
description: 'string',
@@ -101,7 +101,7 @@ Orama will only index properties specified in the schema but will allow you to s
101101
Once the db instance is created, you can start adding some documents:
102102

103103
```js
104-
await insert(db, {
104+
insert(db, {
105105
name: 'Wireless Headphones',
106106
description: 'Experience immersive sound quality with these noise-cancelling wireless headphones.',
107107
price: 99.99,
@@ -111,7 +111,7 @@ await insert(db, {
111111
},
112112
})
113113

114-
await insert(db, {
114+
insert(db, {
115115
name: 'Smart LED Bulb',
116116
description: 'Control the lighting in your home with this energy-efficient smart LED bulb, compatible with most smart home systems.',
117117
price: 24.99,
@@ -121,7 +121,7 @@ await insert(db, {
121121
},
122122
})
123123

124-
await insert(db, {
124+
insert(db, {
125125
name: 'Portable Charger',
126126
description: 'Never run out of power on-the-go with this compact and fast-charging portable charger for your devices.',
127127
price: 29.99,
@@ -135,7 +135,7 @@ await insert(db, {
135135
After the data has been inserted, you can finally start to query the database.
136136

137137
```js
138-
const searchResult = await search(db, {
138+
const searchResult = search(db, {
139139
term: 'headphones',
140140
})
141141
```
@@ -170,7 +170,7 @@ word `"headphones"`, looking up in every `string` property specified in the sche
170170
You can also restrict the lookup to a specific property:
171171

172172
```js
173-
const searchResult = await search(db, {
173+
const searchResult = search(db, {
174174
term: 'immersive sound quality',
175175
properties: ['description'],
176176
})
@@ -205,7 +205,7 @@ Result:
205205
You can use non-string data to [filter](https://docs.askorama.ai/open-source/usage/search/filters), [group](https://docs.askorama.ai/open-source/usage/search/grouping), and create [facets](https://docs.askorama.ai/open-source/usage/search/facets):
206206

207207
```js
208-
const searchResult = await search(db, {
208+
const searchResult = search(db, {
209209
term: 'immersive sound quality',
210210
where: {
211211
price: {
@@ -227,7 +227,7 @@ To perform vector or hybrid search, you can use the same `search` method used fo
227227
You'll just have to specify which property you want to perform vector search on, and a vector to be used to perform vector similarity:
228228

229229
```js
230-
const searchResult = await searchVector(db, {
230+
const searchResult = search(db, {
231231
mode: 'vector', // or 'hybrid'
232232
vector: {
233233
value: [...], // OpenAI embedding or similar vector to be used as an input
@@ -242,13 +242,13 @@ If you're using the [Orama Secure AI Proxy](https://askorama.ai/blog/announcing-
242242
import { create } from '@orama/orama'
243243
import { pluginSecureProxy } from '@orama/plugin-secure-proxy'
244244

245-
const secureProxy = secureProxyPlugin({
245+
const secureProxy = await secureProxyPlugin({
246246
apiKey: '<YOUR-PUBLIC-API-KEY>',
247247
defaultProperty: 'embedding', // the default property to perform vector and hybrid search on
248248
model: 'openai/text-embedding-ada-002' // the model to use to generate embeddings
249249
})
250250

251-
const db = await create({
251+
const db = create({
252252
schema: {
253253
name: 'string',
254254
description: 'string',
@@ -261,7 +261,7 @@ const db = await create({
261261
plugins: [secureProxy]
262262
})
263263

264-
const resultsHybrid = await search(db, {
264+
const resultsHybrid = search(db, {
265265
mode: 'vector', // or 'hybrid'
266266
term: 'Videogame for little kids with a passion about ice cream',
267267
where: {
@@ -282,18 +282,18 @@ Orama supports Geosearch as a search filter. It will search through all the prop
282282
```js
283283
import { create, insert } from '@orama/orama'
284284

285-
const db = await create({
285+
const db = create({
286286
schema: {
287287
name: 'string',
288288
location: 'geopoint'
289289
}
290290
})
291291

292-
await insert(db, { name: 'Duomo di Milano', location: { lat: 45.46409, lon: 9.19192 } })
293-
await insert(db, { name: 'Piazza Duomo', location: { lat: 45.46416, lon: 9.18945 } })
294-
await insert(db, { name: 'Piazzetta Reale', location: { lat: 45.46339, lon: 9.19092 } })
292+
insert(db, { name: 'Duomo di Milano', location: { lat: 45.46409, lon: 9.19192 } })
293+
insert(db, { name: 'Piazza Duomo', location: { lat: 45.46416, lon: 9.18945 } })
294+
insert(db, { name: 'Piazzetta Reale', location: { lat: 45.46339, lon: 9.19092 } })
295295

296-
const searchResult = await search(db, {
296+
const searchResult = search(db, {
297297
term: 'Duomo',
298298
where: {
299299
location: { // The property we want to filter by

packages/orama/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@orama/orama",
3-
"version": "3.0.0-rc-1",
3+
"version": "3.0.0-rc-2",
44
"type": "module",
55
"description": "Next generation full-text and vector search engine, written in TypeScript",
66
"sideEffects": false,

packages/plugin-analytics/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@orama/plugin-analytics",
3-
"version": "3.0.0-rc-1",
3+
"version": "3.0.0-rc-2",
44
"description": "Orama plugin for providing analytics data on your searches",
55
"keywords": ["orama", "analytics", "telemetry"],
66
"license": "Apache-2.0",

packages/plugin-astro/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@orama/plugin-astro",
33
"description": "An Astro integration for Orama",
4-
"version": "3.0.0-rc-1",
4+
"version": "3.0.0-rc-2",
55
"keywords": ["astro", "astro-component", "cms", "orama", "search"],
66
"repository": "https://github.com/askorama/orama",
77
"author": {

packages/plugin-data-persistence/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@orama/plugin-data-persistence",
3-
"version": "3.0.0-rc-1",
3+
"version": "3.0.0-rc-2",
44
"description": "Data persistence plugin for Orama",
55
"type": "module",
66
"sideEffects": false,

packages/plugin-docusaurus-v3/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@orama/plugin-docusaurus-v3",
3-
"version": "3.0.0-rc-1",
3+
"version": "3.0.0-rc-2",
44
"description": "Docusaurus plugin for local search powered by orama",
55
"keywords": ["orama", "docusaurus"],
66
"license": "Apache-2.0",

packages/plugin-docusaurus/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@orama/plugin-docusaurus",
3-
"version": "3.0.0-rc-1",
3+
"version": "3.0.0-rc-2",
44
"description": "Docusaurus plugin for local search powered by orama",
55
"keywords": ["orama", "docusaurus"],
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)