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.

Build custom queries

See original GitHub issue

Hi there

First of all thnx for this awesome component!

I still have a few questions that i can’t figure out 😦 How can i build own custom queries in my React components? For ex. (minified query)

{
  "query": {
    "filtered": {
      "query": {
        "match": {
          "language": "nl-BE"
        }
      },
      "filter": {
        "and": [
          {
            "geo_distance": {
              "distance": "25km",
              ...
            }
          }
        ]
      }
    }
  },
  "sort": [
    {
      "_geo_distance": {
      }
    }
  ]
}

I’m currently looking at the “ImmutableQuery” object that i then assign the the “SearchkitManager” but without any results.

Thnx in advance!

Issue Analytics

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

github_iconTop GitHub Comments

6reactions
bradennapiercommented, Dec 27, 2016

can we document this?. I need this and the solution was done in the chat so not really sure how to do it.

2reactions
joemcelroycommented, Jan 28, 2016

closing this issue as now resolved over gitter

Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating Custom Queries
Before creating the query, ensure the following products are installed, configured and running: · From the Task Area, select Reporting, and then Manage...
Read more >
Creating Custom Queries - TIBCO Product Documentation
Creating Custom Queries ; Create a new data connection to a relational database, either using Tools > Manage Data Connections or File >...
Read more >
Example: Creating a custom query as a program action - IBM
On the "Custom query" page, click Create a new custom query from the Actions list. The "Custom query" wizard opens in a new...
Read more >
5 Simple Methods for Creating Custom Queries in WordPress
The Methods for Creating a Custom Query · The pre_get_posts Action Hook · Including Custom Post Types On Your Main Blog Page ·...
Read more >
Custom Queries | Testing Library
The buildQueries helper allows you to create custom queries with all the standard queries in testing-library. See the Add custom queries section ...
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