That sounds like a bug rather that a feature to me. For instance if I wrote
100,001 blog entries, the search engine breaks hard for a query trying to
find my latest tweets.

Is that what would happen?
---------- Forwarded message ----------
From: "Rusty Klophaus" <[email protected]>
Date: Jan 16, 2011 8:42 AM
Subject: Re: Re: too_many_results error
To: "Eric Moritz" <[email protected]>
Cc: "[email protected]" <[email protected]>

Hi Eric,

This is a failsafe that is applied prior to the 'rows' parameter.

It is applied separately to provide a hard system limit, intended to allow
the cluster administrator to guard against a malicious user, a client
application that accidentally requests too much data, etc.

Best,
Rusty


On Sun, Jan 16, 2011 at 8:38 AM, Eric Moritz <[email protected]>wrote:

> Would using the rows URL parameter fix this or is the error occurring prior
> to the result being limited?
>  ---------- Forwarded message ----------
> From: "Rusty Klophaus" <[email protected]>
> Date: Jan 16, 2011 8:34 AM
> Subject: Re: too_many_results error
> To: "Malka Feldman" <[email protected]>
> Cc: <[email protected]>
>
> Hi Malka,
>
> The error you see is caused by a protective configuration setting that is
> new in the 0.14 release. By default, the system will stop the query after
> 100,000 results and return an error to the system. It is intended to prevent
> Riak Search from grabbing all available memory when faced with a large
> result set.
>
> You can override this by setting the 'max_search_results' setting in the
> etc/app.config file.
>
> Best,
> Rusty
>
> On Sun, Jan 16, 2011 at 7:11 AM, Malka Feldman <[email protected]>wrote:
>
>>  Hi
>> I try to get results from query through solr , but I get the error of too
>> many results
>> the query is :
>> http://79.125.59.136:8098/solr/user_profile/select?q=country:USA
>> I know I can have hundreds of thousands of answers, can it hold them?
>>
>> the error :
>>
>> {error,
>>     {throw,
>>         {too_many_results,
>>             {scope,#Ref<0.0.78.140604>,"user_profile","value",
>>                 {scope,#Ref<0.0.78.140603>,undefined,"country",
>>                     {term,#Ref<0.0.78.140609>,<<"USA">>,
>>                         [{'[email protected]',28438},
>>                          {'[email protected]',28438},
>>                          {'[email protected]',28438}],
>>                         28438.0,1.0,
>>                         #Fun}}}},
>>         [{riak_search_client,'-search/5-fun-0-',4},
>>          {riak_search_client,fold_results,5},
>>          {riak_search_client,search,6},
>>          {riak_search_client,search_doc,6},
>>          {riak_solr_searcher_wm,run_query,1},
>>          {riak_solr_searcher_wm,to_xml,2},
>>          {webmachine_resource,resource_call,3},
>>          {webmachine_resource,do,3}]}}
>>
>>
>> thanks,
>> --
>>
>> *Malka Feldman*
>> Tribase LTD.
>>
>> 41 Shimon Hatzadik St.
>>
>> Elad, Israel
>>
>> Tel. 074-7122736  Fax. 03-9075211 Cell. 972-54-8370828
>>
>> m <[email protected]>[email protected]
>>
>> www.3basegroup.com <http://www.tribasesoft.com>
>>
>> [image: cid:[email protected]]
>>
>>
>>
>> _______________________________________________
>> riak-users mailing list
>> [email protected]
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>>
>>
>
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to