Re: Ranking search results by relevancy

2016-05-25 Thread Alex De la rosa
Hi, nobody has an answer to this? Thanks, Alex On Wed, May 18, 2016 at 9:07 PM, Alex De la rosa wrote: > Hi all, > > I would like to perform a search on Riak/Solr of people given an input > containing its full name (or part of it), like when searching for members > in Facebook's search bar. > >

riak-erlang-client

2016-05-25 Thread Richard Jonas
Guys, most of the examples I can see that riak erlang client processes cannot be shared with multiple processes. Is it safe if more processes use the same riak connection? So in other words: is riak erlang client thread-safe? Thanks -- Richard Jonas Erlang Solutions Hungary Kft Address: Rive

Re: riak-erlang-client

2016-05-25 Thread Nick Marino
Hi Richard, Yes, sharing a riak-erlang-client connection process among multiple Erlang processes should not cause any problems. The riak_pb_socket processes are implemented using a gen_server, and they use a queuing mechanism to handle concurrent requests. If process A has sent a request and is wa

Re: riak-erlang-client

2016-05-25 Thread Richard Jonas
Thank you for the quick answer. On Wed, May 25, 2016 at 4:13 PM, Nick Marino wrote: > Hi Richard, > > Yes, sharing a riak-erlang-client connection process among multiple Erlang > processes should not cause any problems. The riak_pb_socket processes are > implemented using a gen_server, and they

riak cs performance question

2016-05-25 Thread M Nagaraj
Hi I am quite new to RIAK-*. I have setup riak cs on a single server (for evaluation purposes) with adequate RAM, CPU and high performance storage. I am using Cosbench to benchmark RIAK-CS using the S3 proxy connection. Cosbench is also running on the same server (the reasons being I wanted to eli

Re: Ranking search results by relevancy

2016-05-25 Thread Luke Bakken
Hi Alex, You can use the HTTP search endpoint to see what information Riak returns for Solr queries as well as to try out queries: https://docs.basho.com/riak/kv/2.1.4/developing/usage/search/#querying Since you're indexing first and last name, I'm not sure what indexing a full name buys you on t

Re: Ranking search results by relevancy

2016-05-25 Thread Alex De la rosa
Hi Luke, That was not the question... I know that I can use ORs, etc... I wanted to know how to sort them by relevancy or higher equality score. Thanks, Alex On Wed, May 25, 2016 at 8:08 PM, Luke Bakken wrote: > Hi Alex, > > You can use the HTTP search endpoint to see what information Riak > r

Re: Ranking search results by relevancy

2016-05-25 Thread Luke Bakken
Alex, Here's what you asked in your original email, and why I mentioned OR: "Can it be done all at once in just 1 search query? or should I compile results from 3 queries?" These documents indicate that the default sort is descending relevancy score: * https://wiki.apache.org/solr/SolrRelevancy