That is correct, Greg. It's either determined by the key used to store the
object in Riak KV (given the precommit hook is used), or by a key specified
when indexing directly into Riak Search, using e.g. the Solr or the Erlang API.
There'll always be a key required, and that'll be used to look up
Eric, I believe the key is the document id, which will be the same as the
key of the corresponding object in .
-Greg
On Thu, May 26, 2011 at 12:41 PM, Eric Moritz wrote:
> Out of curiosity what is the key in this URL?
> http://riak.host:8098/riak/_rsid_/key
>
> On Thu, May 26, 2011 at 9:42 AM, M
Out of curiosity what is the key in this URL?
http://riak.host:8098/riak/_rsid_/key
On Thu, May 26, 2011 at 9:42 AM, Mathias Meyer wrote:
> Greg,
>
> Riak Search stores indexed documents in Riak KV too, as serialized Erlang
> terms. You can easily verify that by requesting a document from
> htt
This behavior is specific to the Solr interface. It first fetches document IDs
matching the criteria and then fetches the documents from Riak KV. Using the
Erlang interface you can fetch just the IDs. It would certainly make sense to
add an option like that, but it'd be inconsistent with Solr's
Greg,
Riak Search stores indexed documents in Riak KV too, as serialized Erlang
terms. You can easily verify that by requesting a document from
http://riak.host:8098/riak/_rsid_/key.
So whenever you query something through the Solr interface the documents you
get back are fetched from these bu