kibana/examples/demo_search
Stacey Gammon 79fc07c0c3
Add top level examples folder and command to run, --run-examples. (#52027)
* Add top level examples folder and command to run, `--run-examples`.

* Add comment explaining reason --run-examples flag turns off base path.
2019-12-10 18:02:03 -05:00
..
common Add top level examples folder and command to run, --run-examples. (#52027) 2019-12-10 18:02:03 -05:00
public Add top level examples folder and command to run, --run-examples. (#52027) 2019-12-10 18:02:03 -05:00
server Add top level examples folder and command to run, --run-examples. (#52027) 2019-12-10 18:02:03 -05:00
kibana.json Add top level examples folder and command to run, --run-examples. (#52027) 2019-12-10 18:02:03 -05:00
package.json Add top level examples folder and command to run, --run-examples. (#52027) 2019-12-10 18:02:03 -05:00
README.md Add top level examples folder and command to run, --run-examples. (#52027) 2019-12-10 18:02:03 -05:00
tsconfig.json Add top level examples folder and command to run, --run-examples. (#52027) 2019-12-10 18:02:03 -05:00

Demo search strategy

This example registers a custom search strategy that simply takes a name string in the request and returns the string Hello {name}

To see the demo search strategy in action, navigate to the Search explorer app.

To run these examples, use the command yarn start --run-examples.