No, if you specify the index name (parameter indexKey) in
prepareDeleteMapping, it will delete the type only from the index specified
If you want to delete this type from all indices in the cluster, don't
On Thu, Jun 23, 2011 at 12:43 PM, slavag firstname.lastname@example.org wrote:
Cool, Thank You for answer,
Question about delete mapping - if there another index with the same
type will it be also deleted ?
On Jun 23, 7:43 am, Igor Motov i...@motovs.org wrote:
As Clint already mentioned, you can delete mapping for the type and it
delete all data from this type as well:
or you can execute deleteByQuery with matchAllQuery filtered by the type.
On Thu, Jun 23, 2011 at 9:56 AM, slavag slav...@gmail.com wrote:
Yes, I agree with you, but this can be doe while the original data is
exist, and if it not - then little bit problematic
So, any suggestion how can I delete such index and type ?
On Jun 23, 4:57 am, Shay Banon shay.ba...@elasticsearch.com wrote:
One note, many times it might make sense to actually drop the index
On Thursday, June 23, 2011 at 11:38 AM, Clinton Gormley wrote:
On Wed, 2011-06-22 at 21:13 -0700, slavag wrote:
I found that via admin interface I can delete index.
But what about deleting index of particular type only, how that
be done, without specifying the id of the documents ?
You can - just delete the mapping