Watson Discovery

 View Only

How to resolve duplicate results using deduplicate.field

  • 1.  How to resolve duplicate results using deduplicate.field

    Posted Wed October 07, 2020 03:39 PM
    Hi,

    I have sent an API call to query my private collection using deduplicate.field parameter, and I have tried numerous examples for the field such as "title", "question", "passage_text", "text" but it still returned the same duplicate records. Here is my GET request. 

    https://api.us-south.discovery.watson.cloud.ibm.com/instances/8232d6ba-6a18-4ad3-b9fd-dcabf2782ad2/v1/environments/41c98c07-6f5e-4f61-b708-7f69f1b5766d/collections/5e13e064-da3b-4d5a-bdba-0e9b5cb993f0/query?version=2018-12-03&highlight=true&passages.count=5&natural_language_query=drinking%20water%20system&deduplicate.field=passage_text


    ------------------------------
    Xiaojun Su
    ------------------------------

    #WatsonDiscovery