GC M22 - Core Services - Full Text Highlight Search - keywordLower
Hi, I'm trying to search using the keywordLower and the result is returning empty... I'm using:
- Collection: Indexer_Enhancement_Cases_-_M22.postman_collection.json
- Environment: OSDU_R3_GC_Pre-ship.postman_environment.json
Key Word Lower
POST {{SEARCH_HOST}}/query
BODY CURL VERSION
curl --location 'https://preship.gcp.gnrg-osdu.projects.epam.com/api/search/v2/query' \
--header 'Authorization: Bearer <Token>' \
--header 'data-partition-id: m19' \
--header 'Content-Type: application/json' \
--data '{
"kind": ["osdu:wks:master-data--Wellbore:*"],
"query": "data.FacilityName.keywordLower:*",
"highlightedFields": ["id", "data.FacilityName"]
}'
BODY
{
"kind": ["{{authority}}:{{schemaSource}}:master-data--Wellbore:*"],
"query": "data.FacilityName.keywordLower:*",
"highlightedFields": ["id", "data.FacilityName"]
}
RESPONSE
{
"results": [],
"aggregations": [],
"phraseSuggestions": [],
"totalCount": 0
}
Regards,
Juliana