Re: MoreLikeThis and mlt.count

2012-07-08 Thread Lee Carroll
Hi Bruno

I'm not sure if that makes sense for a query which does not have a boolean
element to it. What is your use-case



On 7 July 2012 18:36, Bruno Mannina bmann...@free.fr wrote:

 Dear Solr users,

 I have a field name fid defined as:
 field name=fid type=string indexed=true stored=true
 required=true termVectors=true/

 This fid can have a value like:
 a0001
 b57855
 3254
 etc...
 (length 20 digits)

 I would like to get *all* docs that result returns. Actually by default
 mlt.count is set to 5 but I don't want to
 set it to 200 in my url to be sure to get all results in the same xml.

 Is there a way to set mlt.count to get always *all* mlt documents ?

 I read 
 http://wiki.apache.org/solr/**MoreLikeThishttp://wiki.apache.org/solr/MoreLikeThiswithout
  find a solution



 Sincerely,
 Bruno
 Solr 3.6
 Ubuntu



Re: MoreLikeThis and mlt.count

2012-07-08 Thread Bruno Mannina

Hi,

My docs are patents. Patents have family members and I would like to get 
docs by PN (field Patent Number (uniquekey)).


My request will be
?q=pn:EP100A1mlt=true.

with this method I will get all equivalents (family members of EP100A1)

If set automaticaly mlt.count to MAX is not possible, so I will set to 
500


Le 08/07/2012 11:17, Lee Carroll a écrit :

Hi Bruno

I'm not sure if that makes sense for a query which does not have a boolean
element to it. What is your use-case



On 7 July 2012 18:36, Bruno Mannina bmann...@free.fr wrote:


Dear Solr users,

I have a field name fid defined as:
field name=fid type=string indexed=true stored=true
required=true termVectors=true/

This fid can have a value like:
a0001
b57855
3254
etc...
(length 20 digits)

I would like to get *all* docs that result returns. Actually by default
mlt.count is set to 5 but I don't want to
set it to 200 in my url to be sure to get all results in the same xml.

Is there a way to set mlt.count to get always *all* mlt documents ?

I read 
http://wiki.apache.org/solr/**MoreLikeThishttp://wiki.apache.org/solr/MoreLikeThiswithout
 find a solution



Sincerely,
Bruno
Solr 3.6
Ubuntu






MoreLikeThis and mlt.count

2012-07-07 Thread Bruno Mannina

Dear Solr users,

I have a field name fid defined as:
field name=fid type=string indexed=true stored=true 
required=true termVectors=true/


This fid can have a value like:
a0001
b57855
3254
etc...
(length 20 digits)

I would like to get *all* docs that result returns. Actually by default 
mlt.count is set to 5 but I don't want to

set it to 200 in my url to be sure to get all results in the same xml.

Is there a way to set mlt.count to get always *all* mlt documents ?

I read http://wiki.apache.org/solr/MoreLikeThis without find a solution



Sincerely,
Bruno
Solr 3.6
Ubuntu