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.

p.searchQuery no effect on getMarkets()

See original GitHub issue

Current documentation states:

p.searchQuery (string) <optional> Query string used to determine which Markets are returned by This string is used to search across Market IDs, questions, categories, tags, resolution sources, and scalar donominations.

However I am not able to filter results of getMarkets() with any implementation of the searchQuery string field. Code is as follows:{
  universe: universe,
  searchQuery: 'eth'
}, (error, marketIds) => {
  console.log(marketIds) // all 1200+ IDs

Is this a misunderstanding of what the searchQuery field does or is there an issue here? Currently there is no simple way of filtering by multiple tags or categories without multiple calls to the API.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

adrake33commented, Nov 7, 2018

@SirLancelot-OG Yes, the parameter name should be search, not searchQuery. This has been corrected in the docs, and I’ve added some more info on the syntax for search queries. Apologies for the confusion.

bthailecommented, Nov 6, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

Print Preview - C:\Temp\e3temp_4564\.aptcache\tcpi/tfa04564
be expressly permitted in your license agreement for these Programs, no part of ... Java: boolean getEditHistoryItems(), void ... Java: String getMarket().
Read more >
API Documentation - Stockpulse
Welcome to the reference for the Stockpulse REST API v5. REST is a web-service protocol that lends itself to rapid development by using...
Read more >
wordlist_no_underscores.txt - Index of /
... selfupdate quicklinks radii-adapter no-image boardconfig bezierbeauty cal ... r75 phoneformatter department-of-defense-military o2info p-common kabali ...
Read more >
Most commonplace ISO steel delivery containers are made from heavy gauge steel and are inconceivable to break into, except you have an electric...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found