Re: any way to post json document to a MoreLikeThisHandler?

2018-09-13 Thread Matt Work Coarr
. > > Regards, > Alex > > On Tue, Sep 11, 2018, 4:57 PM Matt Work Coarr, > wrote: > > > Thanks Alex. Yes, I've been using the MoreLikeThisHandler, but that > takes > > a block of text as input posted to the request, not the structured json >

Re: any way to post json document to a MoreLikeThisHandler?

2018-09-11 Thread Alexandre Rafalovitch
Tue, Sep 11, 2018, 4:57 PM Matt Work Coarr, wrote: > Thanks Alex. Yes, I've been using the MoreLikeThisHandler, but that takes > a block of text as input posted to the request, not the structured json > that corresponds to the fields. > > On Tue, Sep 11, 2018 at 10:14 AM A

Re: any way to post json document to a MoreLikeThisHandler?

2018-09-11 Thread Matt Work Coarr
Thanks Alex. Yes, I've been using the MoreLikeThisHandler, but that takes a block of text as input posted to the request, not the structured json that corresponds to the fields. On Tue, Sep 11, 2018 at 10:14 AM Alexandre Rafalovitch wrote: > There are three ways to trigger MLT:

Re: any way to post json document to a MoreLikeThisHandler?

2018-09-11 Thread Alexandre Rafalovitch
There are three ways to trigger MLT: https://lucene.apache.org/solr/guide/7_4/morelikethis.html MoreLikeThisHandler allows to supply text externally. Unfortunately, I can't find the specific example demonstrating it, so not sure if it just a blob of text or a document. Regards, Alex.

any way to post json document to a MoreLikeThisHandler?

2018-09-11 Thread Matt Work Coarr
Hello, Using a MoreLikeThisHandler, I was hoping to be able to pass in in the post body a json document (the same format as a document indexed in my core, but the document in the request is not and should not be added to the core). I'm thinking it would handle an incoming document similar t

Re: MoreLikeThisHandler with mltipli input documents

2015-09-30 Thread Alessandro Benedetti
; > > > > > > > > > I assumed the best idea to claculate the similar e-books for all > > the > > > > > other > > > > > > (n*(n-1) similarity calculation) and present only the top 5. I > > planned > > > > to > > >

Re: MoreLikeThisHandler with mltipli input documents

2015-09-30 Thread Szűcs Roland
> > > > > (n*(n-1) similarity calculation) and present only the top 5. I > planned > > > to > > > > > do it when our server is not busy. In this point I found the > > > description > > > > of > > > > > mlt as a search

Re: MoreLikeThisHandler with mltipli input documents

2015-09-30 Thread Upayavira
date as it > > > > calculates the similar documents to all the result set of the query. So > > > if > > > > I say q=*:* and mlt component is enabled I get similar document for my > > > > entire document set. The only problem was with this approach

Re: MoreLikeThisHandler with mltipli input documents

2015-09-30 Thread Szűcs Roland
as they > > are > > > > lazy to click anywhere. So I would like to present on the product > pages > > > the > > > > alternatives of the e-books without clicking. > > > > > > > > I assumed the best idea to claculate the similar e-book

Re: MoreLikeThisHandler with mltipli input documents

2015-09-30 Thread Alessandro Benedetti
my > > > entire document set. The only problem was with this approach that mlt > > > search component does not give back the interesting terms for my tag > > cloud > > > calculation. > > > > > > That's why I tried to mix the flexibilit

Re: MoreLikeThisHandler with mltipli input documents

2015-09-30 Thread Szűcs Roland
ent is enabled I get similar document for my > > entire document set. The only problem was with this approach that mlt > > search component does not give back the interesting terms for my tag > cloud > > calculation. > > > > That's why I tried to mix the fle

Re: MoreLikeThisHandler with mltipli input documents

2015-09-29 Thread Alessandro Benedetti
at's why I tried to mix the flexibility of mlt compoonent (multiple docs > as an input accepted) with the robustness of MoreLikeThisHandler (having > interesting terms). > > If there is no solution, I will use the mlt component and solve the tag > cloud calculation other way

Re: MoreLikeThisHandler with mltipli input documents

2015-09-29 Thread Szűcs Roland
. The only problem was with this approach that mlt search component does not give back the interesting terms for my tag cloud calculation. That's why I tried to mix the flexibility of mlt compoonent (multiple docs as an input accepted) with the robustness of MoreLikeThisHandler (having interest

Re: MoreLikeThisHandler with mltipli input documents

2015-09-29 Thread Upayavira
s too much time from customer perspective > that is why I tried to find solution for offline more like this > calculation. But if my app has to call the morelikethishandler for each > doc > it puts overhead for the offline calculation. > > Best Regards, > Roland > > 2015

Re: MoreLikeThisHandler with mltipli input documents

2015-09-29 Thread Szűcs Roland
perspective that is why I tried to find solution for offline more like this calculation. But if my app has to call the morelikethishandler for each doc it puts overhead for the offline calculation. Best Regards, Roland 2015-09-29 13:01 GMT+02:00 Upayavira : > If MoreLikeThis is slow for large docume

Re: MoreLikeThisHandler with mltipli input documents

2015-09-29 Thread Upayavira
gt; > The text input is not good for us because we need the similar doc list > for > each of the matched document. If I put together text of 10 document I can > not separate which suggestion relates to which matched document and also > the tag cloud will belong to the mixed text. >

Re: MoreLikeThisHandler with mltipli input documents

2015-09-29 Thread Szűcs Roland
is not good for us because we need the similar doc list for each of the matched document. If I put together text of 10 document I can not separate which suggestion relates to which matched document and also the tag cloud will belong to the mixed text. Most likley we will use the MoreLikeThisHandler

Re: MoreLikeThisHandler with mltipli input documents

2015-09-29 Thread Alessandro Benedetti
1) customising the MLT component starting from Lucene 2) doing some processing client side and use the "text" similarity feature. Cheers 2015-09-29 10:05 GMT+01:00 Roland Szűcs : > Hi all, > > Is it possible to feed multiple solr id for a MoreLikeThisHandler? > > &g

MoreLikeThisHandler with mltipli input documents

2015-09-29 Thread Roland Szűcs
Hi all, Is it possible to feed multiple solr id for a MoreLikeThisHandler? false details title,content 4 title^12 content^1 2 10 true json true when I call this: http://localhost:8983/solr/bandwhu/mlt?q=id:8&fl=id it works fine. Is there any way to have a kind of "bulk" cal

Re: MoreLikeThisHandler + Facets

2013-05-21 Thread Otis Gospodnetic
he Solr faceting code. > > -- Jack Krupansky > > -Original Message- From: Achim Domma > Sent: Tuesday, May 21, 2013 6:39 PM > To: solr-user@lucene.apache.org > Subject: Re: MoreLikeThisHandler + Facets > > Our current index contains nearly 400k documents and will grow to a

Re: MoreLikeThisHandler + Facets

2013-05-21 Thread Jack Krupansky
t, I'm not familiar enough with the internal details of the Solr faceting code. -- Jack Krupansky -Original Message- From: Achim Domma Sent: Tuesday, May 21, 2013 6:39 PM To: solr-user@lucene.apache.org Subject: Re: MoreLikeThisHandler + Facets Our current index contains nearly 400k doc

Re: MoreLikeThisHandler + Facets

2013-05-21 Thread Achim Domma
n? I mean, the whole point of the facet numbers is to let users > know what's out there. You must have some other rationale in mind - what is > it? > > -- Jack Krupansky > > -Original Message- From: Achim Domma > Sent: Tuesday, May 21, 2013 5:47 AM > To: solr-us

Re: MoreLikeThisHandler + Facets

2013-05-21 Thread Jack Krupansky
Domma Sent: Tuesday, May 21, 2013 5:47 AM To: solr-user@lucene.apache.org Subject: MoreLikeThisHandler + Facets Im calling the MoreLikeThisHandler with a query like "id:some_doc_id", so I would like to get documents which are similar to one specific document. I restrict the result t

MoreLikeThisHandler + Facets

2013-05-21 Thread Achim Domma
Im calling the MoreLikeThisHandler with a query like "id:some_doc_id", so I would like to get documents which are similar to one specific document. I restrict the result to 25 rows and I calculate facets for some fields. On what data are those facets calculated? According to the doc

Re: "Similarity" of numbers in MoreLikeThisHandler

2012-07-04 Thread nanshi
-MoreLikeThisHandler-tp486350p3992949.html Sent from the Solr - User mailing list archive at Nabble.com.

Highlighting matched interesting terms in MoreLikeThisHandler...

2012-03-19 Thread Ravish Bhagdev
Hi All, I wonder if anyone else has had a requirement similar to this: I'm using MLT handler to return matching documents, matched on a specific field which works perfectly. But I want to be able to show which interesting terms matched for a given result set. If there was a way of listing these

Re: Getting MoreLikeThisHandler operational.

2011-09-01 Thread Koji Sekiguchi
(11/09/02 4:00), Herman Kiefus wrote: Thank you very much. Name mlt This is not what I was suggesting. MLT*Handler* is a request handler but not SearchComponent-aware handler. That said, it ignores ... part. If MLTHandler

RE: Getting MoreLikeThisHandler operational.

2011-09-01 Thread Herman Kiefus
Thank you very much. Name mlt -Original Message- From: Koji Sekiguchi [mailto:k...@r.email.ne.jp] Sent: Thursday, September 01, 2011 11:06 AM To: solr-user@lucene.apache.org Subject: Re: Getting MoreLikeThisHandler

Re: Getting MoreLikeThisHandler operational.

2011-09-01 Thread Koji Sekiguchi
(11/09/01 23:24), Herman Kiefus wrote: mlt but ends up returning a 500 error on a core reload. What is an appropriate configuration entry for the MLT handler? Why you got 500 error because MLTComponent was set for requestHandler class. Set class="solr.SearchHandler

Getting MoreLikeThisHandler operational.

2011-09-01 Thread Herman Kiefus
I've begun tinkering with MLT using the standard request handler. The Wiki also suggests using the MoreLikeThis handler directly, but apparently, this is not in the default configuration (as I recall, I haven't removed anything from solrconfig.xml as shipped). For example: http://devsolr03:89

Possible bug in MoreLikeThisHandler debugging?

2011-08-29 Thread Andrés Cobas
Hi. After upgrading to solr 3.3.0 from 1.4.0, I noticed that I couldn't get the MoreLikeThisHandler to return debugging data. I tried the debug parameters debugQuery and debug, but all I got was: true I took a look at the code for the MoreLikeThisHandler, and noted in the debbuging part

Possible bug in MoreLikeThisHandler debugging?

2011-08-29 Thread Andrés Cobas
Hi. After upgrading to solr 3.3.0 from 1.4.0, I noticed that I couldn't get the MoreLikeThisHandler to return debugging data. I tried the debug parameters debugQuery and debug, but all I got was: true I took a look at the code for the MoreLikeThisHandler, and noted in the debbuging part

Possible bug in MoreLikeThisHandler debugging?

2011-08-29 Thread Andrés Cobas
Hi. After upgrading to solr 3.3.0 from 1.4.0, I noticed that I couldn't get the MoreLikeThisHandler to return debugging data. I tried the debug parameters debugQuery and debug, but all I got was: true I took a look at the code for the MoreLikeThisHandler, and noted in the debbuging part

Re: Boost a document score via query using MoreLikeThisHandler

2010-03-04 Thread Chris Hostetter
: Ok, I think I need to do this with BoostQParserPlugin and nested : queries, but I can't quite figure it out. you can't actually nest parsers like this ... but you can use the "$foo" sintax to seperate them out into alternate params... /solr/select/?yourChoice={!query}name:solr&q={!boost+b=$yo

How to see the query generated by MoreLikeThisHandler?

2010-03-03 Thread Christopher Bottaro
Hello, Is there a way to see exactly what query is generated by the MoreLikeThisHandler? If I send debugQuery=true then I see in the response a key called "parsedquery" but it doesn't seem quite right. What I mean by that is when I make the MoreLikeThis query, I set "mlt.f

Re: Boost a document score via query using MoreLikeThisHandler

2010-03-01 Thread Lance Norskog
to boost a document's score based on something like >> fq=site(com.google*).  In other words, I want to boost the score of >> documents who's "site" field starts with "com.google". >> >> I'm using the MoreLikeThisHandler. >> >> T

Re: Boost a document score via query using MoreLikeThisHandler

2010-03-01 Thread Christopher Bottaro
ith "com.google". > > I'm using the MoreLikeThisHandler. > > Thanks for the help, > -- Christopher > Ok, I think I need to do this with BoostQParserPlugin and nested queries, but I can't quite figure it out. So this works... q={!boost b=log(popularity)}(title:barack OR tit

Boost a document score via query using MoreLikeThisHandler

2010-03-01 Thread Christopher Bottaro
Hello, Is it possible to boost a document's score based on something like fq=site(com.google*). In other words, I want to boost the score of documents who's "site" field starts with "com.google". I'm using the MoreLikeThisHandler. Thanks for the help, -- Christopher

Re: How to instruct MoreLikeThisHandler to sort results

2009-12-03 Thread Bill Au
I had open a Jira and submitted a patch for this: https://issues.apache.org/jira/browse/SOLR-1545 Bill On Thu, Dec 3, 2009 at 7:47 AM, Sascha Szott wrote: > Hi Folks, > > is there any way to instruct MoreLikeThisHandler to sort results? I was > wondering that MLTHandler recogni

How to instruct MoreLikeThisHandler to sort results

2009-12-03 Thread Sascha Szott
Hi Folks, is there any way to instruct MoreLikeThisHandler to sort results? I was wondering that MLTHandler recognizes faceting parameters among others, but it ignores the sort parameter. Best, Sascha

Re: Term highlighting with MoreLikeThisHandler?

2009-05-01 Thread Eric Sabourin
you use MoreLikeThis, the query > >> is a document. How do you highlight a document in another document? > >> > >> wunder > >> > >> On 4/29/09 9:21 PM, "Matt Weber" wrote: > >> > >>> Any luck on this? I am experiencing the

Re: Term highlighting with MoreLikeThisHandler?

2009-04-30 Thread Walter Underwood
> >> On 4/29/09 9:21 PM, "Matt Weber" wrote: >> >>> Any luck on this? I am experiencing the same issue. Highlighting >>> works fine on all other request handlers, but breaks when I use the >>> MoreLikeThisHandler. >>> >>> Th

Re: Term highlighting with MoreLikeThisHandler?

2009-04-30 Thread Matt Weber
on this? I am experiencing the same issue. Highlighting works fine on all other request handlers, but breaks when I use the MoreLikeThisHandler. Thanks, Matt Weber On Apr 28, 2009, at 5:29 AM, Eric Sabourin wrote: Yes... at least I think so. the highlighting works correctly for me on another request

Re: Term highlighting with MoreLikeThisHandler?

2009-04-30 Thread Eric Sabourin
ot; wrote: > > > Any luck on this? I am experiencing the same issue. Highlighting > > works fine on all other request handlers, but breaks when I use the > > MoreLikeThisHandler. > > > > Thanks, > > > > Matt Weber > > > > > >

Re: Term highlighting with MoreLikeThisHandler?

2009-04-29 Thread Walter Underwood
request handlers, but breaks when I use the > MoreLikeThisHandler. > > Thanks, > > Matt Weber > > > > > On Apr 28, 2009, at 5:29 AM, Eric Sabourin wrote: > >> Yes... at least I think so. the highlighting works correctly for me >> on >&

Re: Term highlighting with MoreLikeThisHandler?

2009-04-29 Thread Matt Weber
Any luck on this? I am experiencing the same issue. Highlighting works fine on all other request handlers, but breaks when I use the MoreLikeThisHandler. Thanks, Matt Weber On Apr 28, 2009, at 5:29 AM, Eric Sabourin wrote: Yes... at least I think so. the highlighting works correctly

Re: Term highlighting with MoreLikeThisHandler?

2009-04-28 Thread Eric Sabourin
Yes... at least I think so. the highlighting works correctly for me on another request handler... see below the request handler for my morelikethishandler query. Thanks for your help... Eric score,id,timestamp,type,textualId,subject,url,server explicit true

Re: Term highlighting with MoreLikeThisHandler?

2009-04-27 Thread Otis Gospodnetic
April 27, 2009 10:31:38 AM > Subject: Term highlighting with MoreLikeThisHandler? > > I submit a query to the MoreLikeThisHandler to find documents similar to a > specified document. This works and I've configured my request handler to > also return the interesting terms. &g

Term highlighting with MoreLikeThisHandler?

2009-04-27 Thread Eric Sabourin
I submit a query to the MoreLikeThisHandler to find documents similar to a specified document. This works and I've configured my request handler to also return the interesting terms. Is it possible to have MLT return to me highlight snippets in the similar documents it returns? I mean gen

Re: "Similarity" of numbers in MoreLikeThisHandler

2008-07-04 Thread Chris Hostetter
: I didn't realize that subsets were used to evaluate similarity. From your : example, I assume that the strings: 456 and 123456 are "similar". If I store : them as integers instead of strings, will Solr/Lucene still use subsets to : assign similarity? Strictly speaking MLT opperates on "Terms" .

Re: "Similarity" of numbers in MoreLikeThisHandler

2008-07-04 Thread wojtekpia
context: http://www.nabble.com/%22Similarity%22-of-numbers-in-MoreLikeThisHandler-tp1827p18286144.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: "Similarity" of numbers in MoreLikeThisHandler

2008-07-04 Thread Francisco Sanmartin
a single field: one as a number, the other as a string. The MLT handler returned the same documents regardless of which of the 2 fields I used for similarity. So to answer my own question, the MoreLikeThisHandler does not do numeric comparisons on numeric fields.

Re: "Similarity" of numbers in MoreLikeThisHandler

2008-07-04 Thread wojtekpia
I stored 2 copies of a single field: one as a number, the other as a string. The MLT handler returned the same documents regardless of which of the 2 fields I used for similarity. So to answer my own question, the MoreLikeThisHandler does not do numeric comparisons on numeric fields. -- View

"Similarity" of numbers in MoreLikeThisHandler

2008-07-03 Thread wojtekpia
I have a numeric field that I'm using for getting more records like the current one. Does the MoreLikeThisHandler do numeric comparisons on numeric fields (e.g. 4 is "similar" to 5), or is it a string comparison? -- View this message in context: http://www.nabble.com/%22Similarit

Re: morelikethishandler

2008-01-05 Thread Otis Gospodnetic
- Original Message From: anuvenk <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Friday, January 4, 2008 8:07:37 PM Subject: morelikethishandler How does the morelikethis handler work? Solr wiki doesn't seem to have an elaborate explaination. In which cases would it

morelikethishandler

2008-01-04 Thread anuvenk
How does the morelikethis handler work? Solr wiki doesn't seem to have an elaborate explaination. In which cases would it be better to use this instead of the dismax? -- View this message in context: http://www.nabble.com/morelikethishandler-tp14628416p14628416.html Sent from the Solr -