Michael
Michael
Just FYI how i did it ```php if ($collapseResults) { $client = $index->getClient(); $params = [ 'index' => $index->getIndexName(), 'body' => array_merge( $search->toArray(), ['collapse' => ['field' => 'my_field']] ), ];...
Any news on this? Would need something like this too. ```js "sort": [ { "_script": { "script": { "lang": "painless", "inline": "doc[\"in_city_map\"].value.contains(\"12e1f7c4-42d3-11ec-aa10-0242ac110003\") ? 1 : 0" }, "type": "number", "order":...
Alright fixed it myself ```php $search->addSort( new ScriptSort( sprintf('doc["in_city_map"].value.contains("%s") ? 1 : 0', $city->getId()), FieldSort::DESC ) ); ``` ```php class ScriptSort implements BuilderInterface { use ParametersTrait; const ASC = 'asc';...
Ill created a method for our projects. Currently it only supports ...params instead of an object. ``` javascript const Strings = new LocalizedStrings(...); export const substitute = (key, ...params)=> {...
@omid7791 +1 cannot build either with maven
@nihilistzsche it is working again. I think you can close this issue here.
@nihilistzsche it is working again. I think you can close this issue here.
Can this please be merged?
Which version of ra-core are you using? It is possible that they changed the whole library.
@Njust-imag which versions of racore and ra-input-markdown do you use? I set the peerDependency of ra-core to 3.18.0. Thats what i tested it with.