Re: MLT Query Parser

2016-04-07 Thread shamik
Thanks Shawn and Alessandro. I get the part why id is needed. I was trying to compare with the "mlt" request handler which doesn't enforce such constraint. My previous example of title/keyword is not the right one, but I do have fields which are unique to each document and can be used as a key to e

Re: MLT Query Parser

2016-04-07 Thread Alessandro Benedetti
As Shawn correctly stated, I see nothing strange in the input the More Like This. I could not think a better input to be honest for this functionality. You can potentially attach the MLT Component to your search request handler, to run the MLT on each search result, but I discourage you to do that,

Re: MLT Query Parser

2016-04-06 Thread Shawn Heisey
On 4/6/2016 11:07 AM, shamik wrote: > Thanks Alessandro, that answers my doubt. in a nutshell, to make MLT Query > parser work, you need to know the document id. I'm just curious as why this > constraint has been added. This will not work for a bulk of use cases. For > e.g. if we are trying to gene

Re: MLT Query Parser

2016-04-06 Thread shamik
Thanks Alessandro, that answers my doubt. in a nutshell, to make MLT Query parser work, you need to know the document id. I'm just curious as why this constraint has been added. This will not work for a bulk of use cases. For e.g. if we are trying to generate MLT based on a text or a keyword, how w

Re: MLT Query Parser

2016-04-06 Thread Alessandro Benedetti
Wait a second, and let's avoid any confusion. We can have different input for a More Like This Request Handler ( if this is what you were using). 1) the Id of the document we want to find similar documents to 2) a bunch of text Then you have a lot of parameters that will affect the MLT core. Spec