concept external document in category solr

appears as: external documents, n external document
Solr in Action

This is an excerpt from Manning's book Solr in Action.

More Like This for external documents

The process described so far of passing in a query to find the top document works well for finding related recommendations for documents already in the search engine, but this can be limiting if the content you want to match does not already exist in your search index. Thankfully, the More Like This Handler also supports passing in a content stream containing the full text of an external document for which to provide recommendations. In order to make use of this capability, you need to do an HTTP POST to the More Like This request handler, with the content of the document you want recommendations for contained in the body of the POST. If the document size is not too large for an HTTP GET request, you can also make use of the stream.body parameter, which essentially simulates passing in a content stream to Solr. The next listing demonstrates passing in a document this way (note that you can also do this with other request handlers, such as the /update handler, when passing in documents).

Listing 16.9. Getting More Like This recommendations for an external document