question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Node API for search

See original GitHub issue

Hi,

Are there plans for extending this API for interacting with the /search endpoint? It currently looks like the getObjectType interface does not support this case.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
tonyspirocommented, Aug 23, 2017

@weewey thanks for the heads up on the endpoint and for adding the new method 😄

The endpoint issue is now fixed, however I noticed that you have the category Metafield key set to post_category in your Bucket, make sure it’s this in the query string ?metafield_key=post_category also the Metafield must be a single Object Metafield and not a Multiple Object Metafield.

As for merging the new method, please submit a pull request and I’ll merge it in.

Thanks @weewey!

0reactions
tonyspirocommented, Aug 24, 2017

@weewey FYI I changed the method to indicate multiple Objects returned getObjectsBySearch.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to implement search and filtering in a REST API with ...
First, we've to initialize a new project using Node Package Manager. We can complete the setup by selecting all the default options. npm...
Read more >
Send a search request to the REST API using Node.js - Bing ...
Create a function called Search() to send a search request. In it, perform the following steps: · Within this function, create a JSON...
Read more >
Building a Search Engine API with Node/Express and ...
In this post, we're going to build a Search Engine API with Node/Express & Puppeteer. It will use web scraping to get top...
Read more >
Building a Simple Searchable API with Express (Backend)
Also i am very new into Nodejs, here i am trying to build a Node.js API which helps for text search and wanted...
Read more >
node.js - How to implement search and filtering in a REST API ...
The parameters will be in req.query . { 'firstName': 'john', 'age': '30' }. You can use arr.filter(callback[, thisArg]) for filtering.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found