What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hello! If we introduce a new sort field, what would be the release strategy to update elastic? So i

UNBSW8S8K
UNBSW8S8K Posts: 128 🧑🏻‍🚀 - Cadet
edited October 2019 in Help

Hello!

If we introduce a new sort field, what would be the release strategy to update elastic? So it doesn’t complain about not finding the field in sort “facets”.

Comments

  • Tamas Nyulas
    Tamas Nyulas Application Architect Posts: 20 🧑🏻‍🚀 - Cadet

    Hi, are you saying that you need another field on top of integer-sort and string-sort?

  • Tamas Nyulas
    Tamas Nyulas Application Architect Posts: 20 🧑🏻‍🚀 - Cadet

    In general, if you have a new field, you can add it to your ES schema files and after code deployment you can run console search:setup safely. It will add index new fields without any issues (unless they had been already indexed differently somehow).

  • UNBSW8S8K
    UNBSW8S8K Posts: 128 🧑🏻‍🚀 - Cadet

    Ok, but what do you do for missing data? E.g. you have thousands of products, you add new data and make users to wait to get it generated & synced by P&S?

    Why there is no use of elastic aliases for example? There you can reindex data in parallel and then just flip the index alias.