We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e95b873 commit 4ca1b7fCopy full SHA for 4ca1b7f
api/src/orama.rs
@@ -77,7 +77,7 @@ impl OramaClient {
77
"description": &package.description,
78
"runtimeCompat": &package.runtime_compat,
79
"score": score,
80
- "_omc": score.unwrap_or(0),
+ "_omc:number": score.unwrap_or(0),
81
}
82
]
83
});
tools/orama_package_reindex.ts
@@ -63,7 +63,7 @@ const entries: OramaPackageHit[] = packages
63
description: entry.description,
64
runtimeCompat: entry.runtimeCompat,
65
score: entry.score,
66
- _omc: entry.score ?? 0,
+ "_omc:number": entry.score ?? 0,
67
id: `@${entry.scope}/${entry.name}`,
68
}));
69
0 commit comments