If you are going to go that far, you can get the parsed query from the
debug output, but seriously, if you are using a latest Solr and don't
need the stream.body functionality in MLT, then use the MLT query
parser, it is by far the best way to do it - as you get all the features
of other query parsers and such for free.

Upayavira

On Thu, Dec 24, 2015, at 07:37 PM, Tim Hearn wrote:
> One workaround is to use the 'important terms' feature to grab the query
> generated by the MLT handler, then parse that list into your own solr
> query
> to use through a standard search handler.  That way, you can get the same
> results as if you used the MLT handler, and you can also use filter
> querying, highlighting, etc.
> 
> Note:  I am currently running a Solr 5.0.0 Single-Core installation
> 
> On Thu, Dec 24, 2015 at 11:57 AM, Upayavira <u...@odoko.co.uk> wrote:
> 
> > Which morelikethis are you using? Handler, SearchComponent or
> > QueryParser?
> >
> > You should be a able to wrap the mlt query parser with the boost query
> > parser with no problem.
> >
> > Upayavira
> >
> > On Thu, Dec 24, 2015, at 05:18 AM, Binoy Dalal wrote:
> > > Have you tried applying the boosts to individual fields with mlt.qf?
> > > Optionally, you could get the patch that is on jira and integrate it into
> > > your code if you're so inclined.
> > >
> > > On Thu, 24 Dec 2015, 03:17 CrazyDiamond <crazy_diam...@mail.ru> wrote:
> > >
> > > > So no way to apply boost to mlt or any other way to change order of
> > > > document
> > > > in mlt result? also may be there is a way to make to mlt query  at
> > once and
> > > > merge.
> > > >
> > > >
> > > >
> > > > --
> > > > View this message in context:
> > > >
> > http://lucene.472066.n3.nabble.com/mlt-and-document-boost-tp4246522p4247154.html
> > > > Sent from the Solr - User mailing list archive at Nabble.com.
> > > >
> > > --
> > > Regards,
> > > Binoy Dalal
> >

Reply via email to