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 3dbda99 commit 67e83a6Copy full SHA for 67e83a6
lib/meilisearch/index.rb
@@ -273,10 +273,6 @@ def search(query, options = {})
273
274
# document_id: Identifier of the target document
275
def search_similar_documents(document_id, **options)
276
- if document_id.nil? || document_id.to_s.empty?
277
- raise MeiliSearch::InvalidDocumentId, 'document_id cannot be empty or nil'
278
- end
279
-
280
options.merge!(id: document_id)
281
options = Utils.transform_attributes(options)
282
0 commit comments