Hi Anshum, I'm using SolrCloud, but both instances are on the same Solr installation (it's just for test purposes), so I suppose they share configuration in solr-7.3.1/server/solr/configsets/_default/conf/solrconfig.xml.
So should I recreate the collection ? Thanks, Monique On Tue, Jun 19, 2018 at 4:41 PM Anshum Gupta <ansh...@apple.com> wrote: > Hi Monique, > > Is this standalone Solr or SolrCloud ? If it is cloud, then you’d have to > make sure that you uploaded the right config and collection should also be > reloaded if you enabled it after creating the collection. > > Also, did you check the MLT Query parser that does the same thing but > doesn’t require registering of the handler etc. You can find it’s > documentation here: > https://lucene.apache.org/solr/guide/7_3/other-parsers.html#more-like-this-query-parser > > * *Anshum > > > On Jun 19, 2018, at 11:00 AM, Monique Monteiro <monique.lou...@gmail.com> > wrote: > > Hi all, > > I'm trying to access /mlt in Solr, but the index returns HTTP 404 error. > > I've already configured the following: > > > - /solr-7.3.1/server/solr/configsets/_default/conf/solrconfig.xml: > > *<initParams > path="/update/**,/query,/select,/tvrh,/elevate,/spell,/browse,/mlt">* > * <lst name="defaults">* > * <str name="df">_text_</str>* > * </lst>* > * </initParams>* > > AND > > *<requestHandler name="/mlt" class="solr.MoreLikeThisHandler">* > * <lst name="defaults"> * > * <str name="mlt.interestingTerms">list</str> * > * </lst>* > * </requestHandler>* > > But none of this made "http://localhost:8983/solr/*<index name>*/mlt?q=*:* > return anything other than 404. > > Has anyone any idea about what may be happening? > > Thanks in advance, > > -- > Monique Monteiro > > > -- Monique Monteiro Blog: http://moniquelouise.spaces.live.com/ Twitter: http://twitter.com/monilouise