Hey,
Just moved to 0.15.1 from 0.14.2. When my app starts with a fresh
cluster it does the following:
for index : indexes
Create index
Apply mappings
I am getting index not found errors when applying the mappings to a
just created index. After adding a 200ms sleep between the create and
put mappings, everything seems fine.
Can you gist the exception message? Strange that it happens (I assume you wait for the create index request to happen?). Its usually better to have the mappings provided as part of the index request (more atomic), but what you do shoudl still work...
On Wednesday, March 2, 2011 at 2:57 AM, Paul wrote:
Hey,
Just moved to 0.15.1 from 0.14.2. When my app starts with a fresh
cluster it does the following:
for index : indexes
Create index
Apply mappings
I am getting index not found errors when applying the mappings to a
just created index. After adding a 200ms sleep between the create and
put mappings, everything seems fine.
Can you gist the exception message? Strange that it happens (I assume you wait for the create index request to happen?). Its usually better to have the mappings provided as part of the index request (more atomic), but what you do shoudl still work...
On Wednesday, March 2, 2011 at 2:57 AM, Paul wrote:
Hey,
Just moved to 0.15.1 from 0.14.2. When my app starts with a fresh
cluster it does the following:
for index : indexes
Create index
Apply mappings
I am getting index not found errors when applying the mappings to a
just created index. After adding a 200ms sleep between the create and
put mappings, everything seems fine.
Can you gist the exception message? Strange that it happens (I assume you wait for the create index request to happen?). Its usually better to have the mappings provided as part of the index request (more atomic), but what you do shoudl still work...
On Wednesday, March 2, 2011 at 2:57 AM, Paul wrote:
Hey,
Just moved to 0.15.1 from 0.14.2. When my app starts with a fresh
cluster it does the following:
for index : indexes
Create index
Apply mappings
I am getting index not found errors when applying the mappings to a
just created index. After adding a 200ms sleep between the create and
put mappings, everything seems fine.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.