Re: Improving Performance by Combining Multiple Fields into Single Field

2017-06-21 Thread Trejkaz
On Thu, Jun 22, 2017 at 3:23 PM, aravinth thangasami wrote: > Hi, > Reading through the web, How elastic search's *_source* field stores > entire document and use* _source* for field retrieving. > Does it better than* document.get * or loading entire *indexreader.document > ?* I'd assume that

Re: Improving Performance by Combining Multiple Fields into Single Field

2017-06-21 Thread aravinth thangasami
Hi, Reading through the web, How elastic search's *_source* field stores entire document and use* _source* for field retrieving. Does it better than* document.get * or loading entire *indexreader.document ?* Thanks Aravinth On Wed, Jun 21, 2017 at 10:18 PM, aravinth thangasami < aravinththanga

Re: Improving Performance by Combining Multiple Fields into Single Field

2017-06-21 Thread aravinth thangasami
Thanks Adrien On Wed, Jun 21, 2017 at 5:33 PM, Adrien Grand wrote: > The file is mapped when the index reader is open. Retrieving one or more > fields always requires a single disk seek since all values for a given > document are store together, just make sure to perform a single call to > Index

Re: Improving Performance by Combining Multiple Fields into Single Field

2017-06-21 Thread Adrien Grand
The file is mapped when the index reader is open. Retrieving one or more fields always requires a single disk seek since all values for a given document are store together, just make sure to perform a single call to IndexReader.document with the list of fields that you want to retrieve rather than

Improving Performance by Combining Multiple Fields into Single Field

2017-06-21 Thread aravinth thangasami
Hi all, We are doing experiment, that combining multiple fields into single field as using it as StoredField While retrieving, Instead of retrieving multiple time, we can do with the Single call. we thought of avoiding multiple disk calls for reading multiple fields. we have an index with million