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 c20e20c commit d90e15bCopy full SHA for d90e15b
src/lib/meilisearch.ts
@@ -52,6 +52,16 @@ class MeiliSearch {
52
return new Index<T>(this.config, indexUid).fetchInfo()
53
}
54
55
+ /**
56
+ * Gather information about an index by calling MeiliSearch and
57
+ * return the raw JSON response
58
+ * @memberof MeiliSearch
59
+ * @method getRawIndex
60
+ */
61
+ async getRawIndex(indexUid: string): Promise<IndexResponse> {
62
+ return new Index(this.config, indexUid).getRawInfo()
63
+ }
64
+
65
/**
66
* Get an index or create it if it does not exist
67
* @memberof MeiliSearch
0 commit comments