Solr MoreLikeThis for a single document

93 Views Asked by At

I'm fairly new to Solr. I'm interested to implement MoreLikeThis feature of Solr for an e-commerce application. When a user clicks a particular product and goes into the Product Detail Page, I want the related products of that one product. I have to then filter out the results for different scenarios (similar color, types, brands, etc.)

I'm able to get the related products of result set by adding the mlt paramter as true in the Solr query.

My question is can a query be generated at runtime when a user enters the PDP page and can filters be applied for the MoreLikeThis result set?

P.S.: I'm in a Java environment

0

There are 0 best solutions below