Change mapping with out deleting index

I wanted to know if there is a way to change the mapping with out having to
delete everything in the index, I dont mind if this takes a long period of
time with the more doucmetns i have. As elastisearch is schma free it would
be nice, even on non schma free systems you can change the properties of
fields. While my project is still being made i am able to delete the data
with out having any upset users, but its nice to have lots of data built up
to see how things scale data usage larger seraches and so on.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hello!

Some modifications of the mappings are allowed - you can change a single field to being a multi field or add new fields. However, you can't change a non stored field to being stored or analyzed field to not - analyzed and vice versa. Even if you could you would still be forced to re-index all your documents as once the document is written into Lucene index segment it can't be changed.

--

Regards,

Rafał Kuć

Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch

I wanted to know if there is a way to change the mapping with out having to delete everything in the index, I dont mind if this takes a long period of time with the more doucmetns i have. As elastisearch is schma free it would be nice, even on non schma free systems you can change the properties of fields. While my project is still being made i am able to delete the data with out having any upset users, but its nice to have lots of data built up to see how things scale data usage larger seraches and so on.

--

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 elasticsearch+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

I dont mind if the whole index needs to be re-indexed I just dont want to
always have to loose data everytime i need to make a change to the mapping
the application i am working on is logging based so if someone cant access
some logs from 2 months ago its okay until every thing comes back online.

On Wed, Feb 20, 2013 at 12:10 AM, Rafał Kuć r.kuc@solr.pl wrote:

Hello!

Some modifications of the mappings are allowed - you can change a single
field to being a multi field or add new fields. However, you can't change a
non stored field to being stored or analyzed field to not - analyzed and
vice versa. Even if you could you would still be forced to re-index all
your documents as once the document is written into Lucene index segment it
can't be changed.

*--
Regards,
Rafał Kuć
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch -
ElasticSearch

I wanted to know if there is a way to change the mapping with out having
to delete everything in the index, I dont mind if this takes a long period
of time with the more doucmetns i have. As elastisearch is schma free it
would be nice, even on non schma free systems you can change the properties
of fields. While my project is still being made i am able to delete the
data with out having any upset users, but its nice to have lots of data
built up to see how things scale data usage larger seraches and so on.

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 elasticsearch+unsubscribe@googlegroups.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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
Enjoy,
Alexis Okuwa
WojonsTech
424.835.1223

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hello!

ElasticSearch can't re-index data on its own, you have to do it yourself. You can use _source field to store your data, re-index to another index or even to a different cluster and then switch. But the thing is that you'll have to develop such a functionality on your side or you can take a look at this plugin: https://github.com/karussell/elasticsearch-reindex

--

Regards,

Rafał Kuć

Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch

I dont mind if the whole index needs to be re-indexed I just dont want to always have to loose data everytime i need to make a change to the mapping the application i am working on is logging based so if someone cant access some logs from 2 months ago its okay until every thing comes back online.

On Wed, Feb 20, 2013 at 12:10 AM, Rafał Kuć <r.kuc@solr.pl> wrote:

Hello!

Some modifications of the mappings are allowed - you can change a single field to being a multi field or add new fields. However, you can't change a non stored field to being stored or analyzed field to not - analyzed and vice versa. Even if you could you would still be forced to re-index all your documents as once the document is written into Lucene index segment it can't be changed.

--

Regards,

Rafał Kuć

Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch

I wanted to know if there is a way to change the mapping with out having to delete everything in the index, I dont mind if this takes a long period of time with the more doucmetns i have. As elastisearch is schma free it would be nice, even on non schma free systems you can change the properties of fields. While my project is still being made i am able to delete the data with out having any upset users, but its nice to have lots of data built up to see how things scale data usage larger seraches and so on.

--

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 elasticsearch+unsubscribe@googlegroups.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 elasticsearch+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

--

Enjoy,

Alexis Okuwa

WojonsTech

424.835.1223

--

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 elasticsearch+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.