Introduce Search API#648
Conversation
4d27741 to
0c6feb4
Compare
system-test/search.js
Outdated
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
Also, I added document building functionality and updated the first post here with some examples. |
37cbe32 to
3ba6411
Compare
|
The todo list is a-ticking away. Now would be a good time to catch any mis-steps (see the docs). Next to tackle are the tests. |
9646049 to
1aa9f1e
Compare
|
This is ready for review (from who, I don't know 😄). Todos completed. |
|
I will
|
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
I run |
|
I thought that might just be me. Can you advise how to debug that? |
Source-Link: googleapis/synthtool@d229a12 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest@sha256:74ab2b3c71ef27e6d8b69b1d0a0c9d31447777b79ac3cd4be82c265b45f37e5e
Source-Link: googleapis/synthtool@d229a12 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest@sha256:74ab2b3c71ef27e6d8b69b1d0a0c9d31447777b79ac3cd4be82c265b45f37e5e
…ncy versions (#648) This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/9be7b892-4bc6-4dcb-8dc8-41f27e5fc193/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: googleapis/synthtool@fdd03c1
…ncy versions (#648) This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/9be7b892-4bc6-4dcb-8dc8-41f27e5fc193/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: googleapis/synthtool@fdd03c1
Fixes #632
Docs: https://stephenplusplus.github.io/gcloud-node/#/docs/master/search
To dos:
Search#getIndexes()Index#getDocuments()Index#search()API can't-do's:
Not perfected yet:
Document JSON (when creating a document, we may be able to ease the field specification process)Queries (we can probably have an object builder rather than just accepting a string)Examples:
Create an index / Create a document from scratch
Create a document from an existing JSON object / file
Get search results with a callback
Stream search results