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

js-api support for json-type queries #4980

Closed
runarmyklebust opened this issue May 23, 2017 · 2 comments
Closed

js-api support for json-type queries #4980

runarmyklebust opened this issue May 23, 2017 · 2 comments

Comments

@runarmyklebust
Copy link
Contributor

runarmyklebust commented May 23, 2017

As seen here https://discuss.enonic.com/t/text-search-for-matches-in--path/1073 expressions where one is trying to increase score by adding boolean elements yields very large and complex queries. This could be done easier by supporting json queries and utilizing the es-like boolean expressions

{
  "query": {
    "bool": {
      "must": [
        {
          "fulltext": {
            "field": "someField",
            "query": "my query string"
          }
        }
      ],
      "should": [
        {
          "like": "*microsoft*"
        },
        {
          "in": [
            "fisk",
            "ost"
          ]
        }
      ]
    }
  }
}
@rymsha rymsha added the Feature label Jun 20, 2020
@rymsha rymsha mentioned this issue Jan 7, 2021
2 tasks
@rymsha rymsha added this to the 7.8.0 milestone Apr 28, 2021
@alansemenov alansemenov removed this from the 7.8.0 milestone May 18, 2021
@rymsha rymsha added this to the 7.8.0 milestone Jun 14, 2021
@vbradnitski
Copy link
Contributor

#6553 and #7081 could be implemented here.

@rymsha rymsha modified the milestones: 7.8.0, 7.9.0 Oct 20, 2021
@vbradnitski
Copy link
Contributor

will be implemented in #8936

@rymsha rymsha removed this from the 7.9.0 milestone Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants