Index a new Document from title, uri and string string.

Return the Document created.

See index_document.

Property definitions

vsm $ StringIndex :: index_string
	# Index a new Document from `title`, `uri` and string `string`.
	#
	# Return the Document created.
	#
	# See `index_document`.
	fun index_string(title, uri, string: String, auto_update: nullable Bool): DOC do
		var vector = parse_string(string)
		var doc = new Document(title, uri, vector)
		index_document(doc, auto_update)
		return doc
	end
lib/vsm/vsm.nit:219,2--229,4