mausch/SolrNet — pull request #28 by ptasz3k (2011-10-12 22:44:57+00:00)
Title: Issue 143: MoreLikeThisHandler, alternative version

Hi,

So here it is, i hope it will be useful.

MoreLikeThisHandler query is modeled as separate operation in ISolrOperations, returning its own, specific class of results.

Example usage:

```csharp
ISolrOperations solr = [...];
var results = solr.MoreLikeThisHandlerQuery(
new SolrMoreLikeThisHandlerQuery("id:1234"),
new MoreLikeThisHandlerQueryOptions(
new MoreLikeThisHandlerParameters(new string[] { "content" })
{
MatchInclude = true,
ShowTerms = MoreLikeThisHandlerParameters.InterestingTerms.details,
MinWordLength = 3,
})
{
Rows = 10,
});
var baseDocument = results.Match;
var interestingTerms = results.InterestingTerms,
var results = r.ToList();
```

Best regards,
rk