So after creating my first mapping I now discovered a few more fields that need changes. So at this point are there any HOWTO's that will explain the process of mapping management? Such as:
HOWTO: Create a mapping template, apply it to all indexes, and reindex?
HOWTO: Make additions to existing mapping templates, apply to all indexes, and reindex?
Although you can add to an existing mapping, you can’t change existing field mappings. If a mapping already exists for a field, data from that field has probably been indexed. If you were to change the field mapping, the indexed data would be wrong and would not be properly searchable.
why not? I'm going to have to reindex all the data anyway, why force me to most likely have to delete my entire mapping?
What that's referring to is changing the mapping associated with an existing index. The data has already been indexed using that mapping so changing it and then indexing more data on the changed mapping into the same index would result in inconsistent results. You can change templates all you want as they're only applied at the time an index is created.
Ah...LOL...I see....this is under "Document API's", not in the "Reindexing Your Data" section in the "Index Management" section...gotcha And thanks..I'll keep posting as I continue on my journey
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.