Searching only document id


(reza) #1

hi to all.

i want to search only the document id of search results, due to huge size of documents. i don't want to have the complete document.

thanks.


(Jun Ohtani) #2

Hi @khodael_reza,

You can control to include/exclude the complete document with _source parameter.

See : http://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-source-filtering.html

Does it make sense?


(reza) #3

thank you, yes was solved my problem


(system) #4