I believe this makes sense then - search is entirely in-memory operation
(after a certain warm up), and fetch involves disk IO. Try keep your docs
as small as possible and don't disable _source, but other than that you're
bounded by the speed of your disks.

--

Itamar Syn-Hershko
http://code972.com | @synhershko <https://twitter.com/synhershko>
Freelance Developer & Consultant
Author of RavenDB in Action <http://manning.com/synhershko/>


On Wed, Jan 15, 2014 at 5:31 PM, Arik Gaisler <[email protected]> wrote:

> We are doing a query then fetch serach type
>
>
> On Wednesday, January 15, 2014 4:48:58 PM UTC+2, Itamar Syn-Hershko wrote:
>
>> What is the query type you are using? http://www.
>> elasticsearch.org/guide/en/elasticsearch/reference/
>> current/search-request-search-type.html
>>
>> --
>>
>> Itamar Syn-Hershko
>> http://code972.com | @synhershko <https://twitter.com/synhershko>
>> Freelance Developer & Consultant
>> Author of RavenDB in Action <http://manning.com/synhershko/>
>>
>>
>> On Wed, Jan 15, 2014 at 4:45 PM, Arik Gaisler <[email protected]> wrote:
>>
>>> Im using ElasticHQ to monitor our cluster and I am noticing that our
>>> Search Fetch times are about 5X more then query times, which seems
>>> unreasonable (20ms vs ~4ms)
>>>
>>> Im also noticing a 1.44 mb swap space on one of the nodes (the other
>>> node is at 0)
>>>
>>> We're using a 2 node cluster, 2 shards 1 replica on EC2 m1.small
>>> instances
>>>
>>> Our index contains about 27K docs, total size of ~ 60mb (pretty small -
>>> hence the small instance)
>>>
>>> Any suggestions to why?
>>>
>>> Arik
>>>
>>> --
>>> 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 [email protected].
>>>
>>> To view this discussion on the web visit https://groups.google.com/d/
>>> msgid/elasticsearch/7307cbfe-55d3-41df-a2dc-86b74450a3bf%
>>> 40googlegroups.com.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>  --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/fc28fd75-67c9-46f2-99b2-03cb48bac34b%40googlegroups.com
> .
>
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAHTr4ZvJiXYOBt-cEUvK6BXPUDm_jRRxHOhGNsOCp7BMg1bwdg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to