Technically speaking, /search runs against the cluster plan, not all nodes
right?

We actually steal the cluster plan every n searches, then use that to
search directly against the solr nodes...

That being said, banging on solr will have an effect on kv from our
experience.. YMMV.
On May 15, 2016 4:49 AM, "Vitaly" <13vitam...@gmail.com> wrote:

> Keep in mind that the /search endpoint returns consolidated results (i.e.
> a query runs over all nodes of a cluster), while /internal_solr is only for
> the node you run it on.
>
> I'm not sure what you mean by "extra stress", as running queries is
> exactly what the /search endpoint is meant for. Having said that, I would
> think that any activity can add stress, you should measure what kind of
> stress your system creates, and plan your cluster accordingly.
>
> Regards,
> Vitaly
>
> On Sun, May 15, 2016 at 11:18 AM, Alex De la rosa <alex.rosa....@gmail.com
> > wrote:
>
>> Hi Vitaly,
>>
>> I know that you can access search via HTTP through Riak like this:
>>
>> http://localhost:8098/search/query/famous?wt=json&q=leader:true AND
>> age_i:[25 TO *]
>>
>> I didn't find documentation about this, but according to your words I
>> could access SOLR directly like this?
>>
>> http://localhost:8093/internal_solr/famous/select?wt=json&q=leader:true
>> AND age_i:[25 TO *]
>>
>> If I go through "8098/search" would it be adding extra stress into the
>> Riak cluster? Or is recommended to go through "8098/search" instead of
>> "8093/internal_solr"??
>>
>> I just want to see if I can make use of SOLR with an external mapreduce
>> platform (Disco) without giving extra stress to Riak.
>>
>> Thanks,
>> Rohman
>>
>> On Sun, May 15, 2016 at 12:07 PM, Vitaly <13vitam...@gmail.com> wrote:
>>
>>> There is, you can *query *Solr directly via HTTP, at least as of Riak
>>> 2.0.x
>>>
>>> Have a look at http://<riak_node>:8093/internal_solr/#/ and
>>> http://docs.basho.com/riak/kv/2.1.4/developing/usage/search/#querying
>>>
>>> Vitaly
>>>
>>>
>>> On Sun, May 15, 2016 at 10:49 AM, Alex De la rosa <
>>> alex.rosa....@gmail.com> wrote:
>>>
>>>> Nobody knows if there is a way to access SOLR right away without going
>>>> through RIAK's interface?
>>>>
>>>> Thanks,
>>>> Alex
>>>>
>>>> On Fri, May 13, 2016 at 11:07 PM, Alex De la rosa <
>>>> alex.rosa....@gmail.com> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> If I want to create a Disco cluster [ http://discoproject.org ] to
>>>>> build statistics and compile data attacking Riak's SOLR directly without
>>>>> using Riak, how can I do it?
>>>>>
>>>>> In this way, I would leave Riak mainly for data IO (post/get) and
>>>>> leave the heavy duty of searching and compiling data to Disco; so Riak's
>>>>> performance shouldn't be affected for searching as mainly it will store 
>>>>> and
>>>>> retrieve data only.
>>>>>
>>>>> Thanks,
>>>>> Alex
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> riak-users mailing list
>>>> riak-users@lists.basho.com
>>>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>>>>
>>>>
>>>
>>
>
> _______________________________________________
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to