Suppose I create an index X with type Y and add 100,000 documents containing
a field 'foo'.
Is there a command I can use to atomically rename the field name from 'foo'
to 'bar', or would I have to reindex all 100,000 documents with the new
field name?
Suppose I create an index X with type Y and add 100,000 documents
containing a field 'foo'.
Is there a command I can use to atomically rename the field name from 'foo'
to 'bar', or would I have to reindex all 100,000 documents with the new
field name?
Suppose I create an index X with type Y and add 100,000 documents
containing a field 'foo'.
Is there a command I can use to atomically rename the field name from
'foo' to 'bar', or would I have to reindex all 100,000 documents with the
new field name?
On Saturday, September 17, 2011 at 5:59:11 AM UTC+8, kimchy wrote:
Yes, once a field is set, there is no way to rename it.
On Fri, Sep 16, 2011 at 10:16 PM, Dan Young <dano...@gmail.com
<javascript:>> wrote:
I believe you'll need to reindex.
On Fri, Sep 16, 2011 at 1:13 PM, datadev <n...@adinfocenter.com
<javascript:>> wrote:
Suppose I create an index X with type Y and add 100,000 documents
containing a field 'foo'.
Is there a command I can use to atomically rename the field name from
'foo' to 'bar', or would I have to reindex all 100,000 documents with the
new field name?
Suppose I create an index X with type Y and add 100,000 documents
containing a field 'foo'.
Is there a command I can use to atomically rename the field name from
'foo' to 'bar', or would I have to reindex all 100,000 documents with the
new field name?
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.