Re: MoreLikeThis match

2011-04-11 Thread Brian Lamb
Does anyone have any thoughts on this one?

On Fri, Apr 8, 2011 at 9:26 AM, Brian Lamb brian.l...@journalexperts.comwrote:

 I've looked at both wiki pages and none really clarify the difference
 between these two. If I copy and paste an existing index value for field and
 do an mlt search, it shows up under match but not results. What is the
 difference between these two?


 On Thu, Apr 7, 2011 at 2:24 PM, Brian Lamb 
 brian.l...@journalexperts.comwrote:

 Actually, what is the difference between match and response? It seems
 that match always returns one result but I've thrown a few cases at it where
 the score of the highest response is higher than the score of match. And
 then there are cases where the match score dwarfs the highest response
 score.


 On Thu, Apr 7, 2011 at 1:30 PM, Brian Lamb brian.l...@journalexperts.com
  wrote:

 Hi all,

 I've been using MoreLikeThis for a while through select:

 http://localhost:8983/solr/select/?q=field:more like
 thismlt=truemlt.fl=fieldrows=100fl=*,score

 I was looking over the wiki page today and saw that you can also do this:

 http://localhost:8983/solr/mlt/?q=field:more like
 thismlt=truemlt.fl=fieldrows=100

 which seems to run faster and do a better job overall. When the results
 are returned, they are formatted like this:

 response
   lst name=responseHeader
 int name=status0/int
 int name=QTime1/int
   /lst
   result name=match numFound=24 start=0 maxScore=3.0438285
 doc
   float name=score3.0438285/float
   str name=id5/str
 /doc
   /result
   result name=response numFound=4077 start=0
 maxScore=0.12775186
 doc
   float name=score0.1125823/float
   str name=id3/str
 /doc
 doc
   float name=score0.10231556/float
   str name=id8/str
 /doc
  ...
   /result
 /response

 It seems that it always returns just 1 response under match and response
 is set by the rows parameter. How can I get more than one result under
 match?

 What I'm trying to do here is whatever is set for field:, I would like to
 return the top 100 records that match that search based on more like this.

 Thanks,

 Brian Lamb






Re: MoreLikeThis match

2011-04-11 Thread Mike Mattozzi
Match is the document that's the top result of the query (q param)
that you specify.

Response is the list of documents that are similar to the 'match' document.

-Mike

On Mon, Apr 11, 2011 at 4:55 PM, Brian Lamb
brian.l...@journalexperts.com wrote:
 Does anyone have any thoughts on this one?

 On Fri, Apr 8, 2011 at 9:26 AM, Brian Lamb 
 brian.l...@journalexperts.comwrote:

 I've looked at both wiki pages and none really clarify the difference
 between these two. If I copy and paste an existing index value for field and
 do an mlt search, it shows up under match but not results. What is the
 difference between these two?


 On Thu, Apr 7, 2011 at 2:24 PM, Brian Lamb 
 brian.l...@journalexperts.comwrote:

 Actually, what is the difference between match and response? It seems
 that match always returns one result but I've thrown a few cases at it where
 the score of the highest response is higher than the score of match. And
 then there are cases where the match score dwarfs the highest response
 score.


 On Thu, Apr 7, 2011 at 1:30 PM, Brian Lamb brian.l...@journalexperts.com
  wrote:

 Hi all,

 I've been using MoreLikeThis for a while through select:

 http://localhost:8983/solr/select/?q=field:more like
 thismlt=truemlt.fl=fieldrows=100fl=*,score

 I was looking over the wiki page today and saw that you can also do this:

 http://localhost:8983/solr/mlt/?q=field:more like
 thismlt=truemlt.fl=fieldrows=100

 which seems to run faster and do a better job overall. When the results
 are returned, they are formatted like this:

 response
   lst name=responseHeader
     int name=status0/int
     int name=QTime1/int
   /lst
   result name=match numFound=24 start=0 maxScore=3.0438285
     doc
       float name=score3.0438285/float
       str name=id5/str
     /doc
   /result
   result name=response numFound=4077 start=0
 maxScore=0.12775186
     doc
       float name=score0.1125823/float
       str name=id3/str
     /doc
     doc
       float name=score0.10231556/float
       str name=id8/str
     /doc
  ...
   /result
 /response

 It seems that it always returns just 1 response under match and response
 is set by the rows parameter. How can I get more than one result under
 match?

 What I'm trying to do here is whatever is set for field:, I would like to
 return the top 100 records that match that search based on more like this.

 Thanks,

 Brian Lamb







Re: MoreLikeThis match

2011-04-08 Thread Brian Lamb
I've looked at both wiki pages and none really clarify the difference
between these two. If I copy and paste an existing index value for field and
do an mlt search, it shows up under match but not results. What is the
difference between these two?

On Thu, Apr 7, 2011 at 2:24 PM, Brian Lamb brian.l...@journalexperts.comwrote:

 Actually, what is the difference between match and response? It seems
 that match always returns one result but I've thrown a few cases at it where
 the score of the highest response is higher than the score of match. And
 then there are cases where the match score dwarfs the highest response
 score.


 On Thu, Apr 7, 2011 at 1:30 PM, Brian Lamb 
 brian.l...@journalexperts.comwrote:

 Hi all,

 I've been using MoreLikeThis for a while through select:

 http://localhost:8983/solr/select/?q=field:more like
 thismlt=truemlt.fl=fieldrows=100fl=*,score

 I was looking over the wiki page today and saw that you can also do this:

 http://localhost:8983/solr/mlt/?q=field:more like
 thismlt=truemlt.fl=fieldrows=100

 which seems to run faster and do a better job overall. When the results
 are returned, they are formatted like this:

 response
   lst name=responseHeader
 int name=status0/int
 int name=QTime1/int
   /lst
   result name=match numFound=24 start=0 maxScore=3.0438285
 doc
   float name=score3.0438285/float
   str name=id5/str
 /doc
   /result
   result name=response numFound=4077 start=0 maxScore=0.12775186
 doc
   float name=score0.1125823/float
   str name=id3/str
 /doc
 doc
   float name=score0.10231556/float
   str name=id8/str
 /doc
  ...
   /result
 /response

 It seems that it always returns just 1 response under match and response
 is set by the rows parameter. How can I get more than one result under
 match?

 What I'm trying to do here is whatever is set for field:, I would like to
 return the top 100 records that match that search based on more like this.

 Thanks,

 Brian Lamb





MoreLikeThis match

2011-04-07 Thread Brian Lamb
Hi all,

I've been using MoreLikeThis for a while through select:

http://localhost:8983/solr/select/?q=field:more like
thismlt=truemlt.fl=fieldrows=100fl=*,score

I was looking over the wiki page today and saw that you can also do this:

http://localhost:8983/solr/mlt/?q=field:more like
thismlt=truemlt.fl=fieldrows=100

which seems to run faster and do a better job overall. When the results are
returned, they are formatted like this:

response
  lst name=responseHeader
int name=status0/int
int name=QTime1/int
  /lst
  result name=match numFound=24 start=0 maxScore=3.0438285
doc
  float name=score3.0438285/float
  str name=id5/str
/doc
  /result
  result name=response numFound=4077 start=0 maxScore=0.12775186
doc
  float name=score0.1125823/float
  str name=id3/str
/doc
doc
  float name=score0.10231556/float
  str name=id8/str
/doc
 ...
  /result
/response

It seems that it always returns just 1 response under match and response is
set by the rows parameter. How can I get more than one result under match?

What I'm trying to do here is whatever is set for field:, I would like to
return the top 100 records that match that search based on more like this.

Thanks,

Brian Lamb


Re: MoreLikeThis match

2011-04-07 Thread Brian Lamb
Actually, what is the difference between match and response? It seems
that match always returns one result but I've thrown a few cases at it where
the score of the highest response is higher than the score of match. And
then there are cases where the match score dwarfs the highest response
score.

On Thu, Apr 7, 2011 at 1:30 PM, Brian Lamb brian.l...@journalexperts.comwrote:

 Hi all,

 I've been using MoreLikeThis for a while through select:

 http://localhost:8983/solr/select/?q=field:more like
 thismlt=truemlt.fl=fieldrows=100fl=*,score

 I was looking over the wiki page today and saw that you can also do this:

 http://localhost:8983/solr/mlt/?q=field:more like
 thismlt=truemlt.fl=fieldrows=100

 which seems to run faster and do a better job overall. When the results are
 returned, they are formatted like this:

 response
   lst name=responseHeader
 int name=status0/int
 int name=QTime1/int
   /lst
   result name=match numFound=24 start=0 maxScore=3.0438285
 doc
   float name=score3.0438285/float
   str name=id5/str
 /doc
   /result
   result name=response numFound=4077 start=0 maxScore=0.12775186
 doc
   float name=score0.1125823/float
   str name=id3/str
 /doc
 doc
   float name=score0.10231556/float
   str name=id8/str
 /doc
  ...
   /result
 /response

 It seems that it always returns just 1 response under match and response is
 set by the rows parameter. How can I get more than one result under match?

 What I'm trying to do here is whatever is set for field:, I would like to
 return the top 100 records that match that search based on more like this.

 Thanks,

 Brian Lamb