Hi ES Users,

I have indexed a large sample of data to ES. Now I am running the cluster
query to categorize the data on the basis of "Content". But I don't want the
"Content" field to be returned as ES response i.e. I want only the Cluster
labels and ID's so is there any way around this scenario?

For ex: 
If my query is :
{
  "search_request": {
    "fields": [
      "Content"
    ],
    "query": {
      "match": {
        "Content": "*mobile*"
      }
    }
  },
  "query_hint": "mobile",
  "field_mapping": {
    "content": [
      "fields.Content"
    ]
  },
  "algorithm": "lingo3g"
}


In this case I will get the response which will contain the
"fields->Content" as well as "Cluster labels and ID's".

So is there a way I can suppress the "Content" as return and perform the
categorization as well.



--
View this message in context: 
http://elasticsearch-users.115913.n3.nabble.com/Suppressing-the-content-in-Cluster-response-tp4052109.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/1395149021409-4052109.post%40n3.nabble.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to