We've been working on an Elasticsearch and Kibana task where the main goal was to work with a field (farmerName_profile.birthday_str
) in an index that originally stored it as a text
type. We attempted several steps to solve issues related to searching and reindexing:
- Issue Background:
- The field
farmerName_profile.birthday_str
was initially of typetext
, which caused challenges when attempting to search or perform keyword operations. - We created a new index (
farmers-data
) where we modified the mapping of this field to include bothtext
andkeyword
subfields.
- Reindexing Attempt:
- We tried reindexing data from the original index to the newly created
farmers-data
index, but encountered issues where the original index wasn't correctly identified, leading to errors.
- Current Status:
- We've successfully created a document in the new
farmers-data
index and verified the new mapping, but the original index still doesn't show the expected entries when searching for thebirthday_str
field. - We suspect that the original index might have had specific configurations or that the data was not reindexed correctly.
Request for Help:
- We need assistance with correctly identifying the original index, ensuring accurate reindexing of data, and resolving any mapping or field type issues that may be causing discrepancies in data retrieval.