mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-26 17:37:33 +00:00
docs: correct search over new field docs (#1934)
This commit is contained in:
parent
2bdb52b104
commit
9b63d50582
@ -191,6 +191,6 @@ docker rm -f $(docker ps -aq)
|
||||
```
|
||||
2. Drop all DataHub's docker volumes.
|
||||
```
|
||||
docker volume rm -f $(docker volume ls -f name=datahub_* -q)
|
||||
docker volume rm -f $(docker volume ls -f name=datahub_ -q)
|
||||
```
|
||||
|
||||
|
||||
@ -60,7 +60,7 @@ curl http://localhost:9200/corpuserinfodocument/doc/_mapping? --data '
|
||||
{
|
||||
"properties": {
|
||||
"courses": {
|
||||
"type": "text
|
||||
"type": "text"
|
||||
}
|
||||
}
|
||||
}'
|
||||
@ -256,7 +256,7 @@ curl 'http://localhost:8080/corpUsers?action=ingest' -X POST -H 'X-RestLi-Protoc
|
||||
Once the ingestion is done, you can test your changes by issuing search queries. Here is an example query with response.
|
||||
|
||||
```sh
|
||||
curl "http://localhost:8080/corpUsers?q=search&input=ai200" -H 'X-RestLi-Protocol-Version: 2.0.0' -s | jq
|
||||
curl "http://localhost:8080/corpUsers?q=search&input=ai100" -H 'X-RestLi-Protocol-Version: 2.0.0' -s | jq
|
||||
|
||||
Response:
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user