Execution of queries except Boolean query #153
-
Recently started learning Elasticsearch and getting to know your library. I started with a Boolean query, and found in the Elasticsearch documentation such queries as: Boosting query, Constant score query and others...
Something similar to what Laravel has: Raw Methods |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Raw queries are not supported. I like the idea so maybe in the future. However, if you look at the Syntax classes in this package it is very easy to create your own queries. They don't need to be in the package to work, that's how powerful it is. The constant_score is not yet implemented in the package. You can make it for yourself or even contribute it to the package with a test. There are many queries in the Elastic docs, so I generally tend to only write those that I personally need myself and let others write the classes that they need. |
Beta Was this translation helpful? Give feedback.
Raw queries are not supported. I like the idea so maybe in the future. However, if you look at the Syntax classes in this package it is very easy to create your own queries. They don't need to be in the package to work, that's how powerful it is.
The constant_score is not yet implemented in the package. You can make it for yourself or even contribute it to the package with a test.
There are many queries in the Elastic docs, so I generally tend to only write those that I personally need myself and let others write the classes that they need.