docs: correct search over new field docs (#1934)

This commit is contained in:
Shubham Gupta 2020-10-10 17:56:25 +05:30 committed by GitHub
parent 2bdb52b104
commit 9b63d50582
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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)
```

View File

@ -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:
{