Re: Specifying search fields in search request

2014-11-24 Thread Ivan Brusic
It all depends on how many fields and how big they are. Retrieving a few specific fields might be faster in cases, but in general, each field is another seek in Lucene. Values are not retrieved at the same time. If you are going to get all the fields, just use the source. -- Ivan On Sun, Nov

Specifying search fields in search request

2014-11-23 Thread Ajay Divakaran
Hi all, I'm using ES version 0.90.7. My requirement is to fetch all the fields of the JSON documents that I search/filter for. Is there a performance difference in specifying all the field names in the search request vs not specifying the 'fields' parameter. By not specifying the fields

Re: Specifying search fields in search request

2014-11-23 Thread joergpra...@gmail.com
AM, Ajay Divakaran ajay.divakara...@gmail.com wrote: Hi all, I'm using ES version 0.90.7. My requirement is to fetch all the fields of the JSON documents that I search/filter for. Is there a performance difference in specifying all the field names in the search request vs not specifying

Re: Specifying search fields in search request

2014-11-23 Thread Ajay Divakaran
Jorg Thanks for your reply. Just to clarify the 'fields' that I was referring was for retrieval not against which to search. -- 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