Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added getData() method to Basho\Riak\Search\Doc #118

Merged
merged 4 commits into from Feb 9, 2016

Conversation

lastzero
Copy link
Contributor

@lastzero lastzero commented Feb 9, 2016

See Basho\Riak\Search\Doc does not allow to fetch all values returned by Solr #117 (CLIENTS-683) (CLIENTS-754)

Note that getData() returns an array (see issue comment). I also added tests and inline documentation.

@@ -44,13 +44,34 @@ public function __construct(\stdClass $data)
$this->data = $data;
}

/**
* Returns bucket location
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would actually be the location of an object not the bucket.

@christophermancini
Copy link
Contributor

Looks good. Thanks @lastzero .

christophermancini added a commit that referenced this pull request Feb 9, 2016
Added getData() method to Basho\Riak\Search\Doc
@christophermancini christophermancini merged commit 13654bd into basho:develop Feb 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants