Re: MLT Java example for Solr 6.3

2016-12-27 Thread Ere Maijala
Just a note that field boosting with the MLT Query Parser is broken, and for SolrCloud the whole thing is practically unusable if you index stuff in English because CloudMLTQParser includes strings from field definitions (such as "stored" and "indexed") in the query. I'm still hoping someone wi

Re: MLT Java example for Solr 6.3

2016-12-23 Thread Anshum Gupta
Hi Todd, You can query for similar documents using the MLT Query Parser. The code would look something like: // Assuming you want to use CloudSolrClient CloudSolrClient client = new CloudSolrClient.Builder() .withZkHost(zkHost) .build(); client.setDefaultCollection(COLLECTION_