Searching Securely Using SSL

    +

    To securely query data from the FTS service, the user must follow these steps:

    1. Provide the username and password (-u).

    2. Use https protocol.

    3. Specify the IP address of the server hosting the FTS service - <ip>.

    4. Specify the SSL port (18094).

    Example

    curl -u username:password -XPOST -H "Content-Type: application/json" \
    https://<ip>:18094/api/index/travel-sample-index/query \
    -d '{
            "explain": true,
            "fields": [" * "],
            "highlight": {},
            "query": {
                        "query": "{ \"+nice +view\" }"
                     }
        }'
    Ensure that the SSL ports are enabled in the cluster.