On top of just indexing a document, the top level 'query' field part gets
parsed into a internal Lucene query. However I don't see why this should
take a long time.

Some questions:
Are you running low on jvm memory?
How long does it take to index a regular document?
Can you run the hot threads api while indexing a percolator document?

Martijn



On 4 March 2014 00:25, James Bathgate <[email protected]> wrote:

> What are the likely bottlenecks on indexing percolators? This is on a
> Vagrant virtual machine with 2 GBs of RAM with 1GB for ES. I'm wondering if
> this won't be a problem on an EC2 instance.
>
>
> On Monday, March 3, 2014 2:14:34 PM UTC-8, James Bathgate wrote:
>>
>> I don't think so. This is on my local dev with nothing else running on
>> the index.
>>
>> On Monday, March 3, 2014 2:00:53 PM UTC-8, Binh Ly wrote:
>>>
>>> Hmmmm not sure, I just tried this on ES 1.0.1 and Oracle Java 1.7_u51
>>> and here are my results:
>>>
>>> Insert Percolator:
>>> {"_index":"merchandising","_type":".percolator","_id":"1",
>>> "_version":1,"created":true}
>>> real    0m0.103s
>>> user    0m0.015s
>>> sys     0m0.000s
>>>
>>> Is it possible that your index was just busy?
>>>
>>  --
> 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/5dc16213-ba8e-4d68-9518-0882bd26e294%40googlegroups.com
> .
>
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Met vriendelijke groet,

Martijn van Groningen

-- 
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/CA%2BA76Tx46ABEpAS94-EO7WGui05Y1RSpx%3DaNGMnHuTHgHf4orA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to