Also I have another question we are trying to enab...
# community-help
t
Also I have another question we are trying to enable multi language search for our platform but when user adds a new language we need to update all documents with new search attribute such as `{"search": "Default Product Name", "search_de": "Product name in deutsch", ...}`but we want to use default search attribute if there is no search_de exists in document instead, in this way we don’t need to update all documents do you have a suggestion to resolve this issue or should we have to update all documents?
or will you consider adding this feature to typesense in future?
k
Is it the case that you want to fallback to a generic (maybe english) field when a language specific field does not exist in a document?
Is it possible for one document to have a language specific field but another one not to have it? @Tugay Karaçay
t
yes to prevent that we are automatically adding new search_de field to all documents with same default search value then user updates search_de for specific documents if he wants to
k
This will require some kind of special syntax during query time, which can do something like
use this field if it exists or use another default field
t
like
query_by=searche_de|search,brand
right?
k
Right. Can you please add your use case as a comment to the github issue above? We will have to arrive at a syntax that can cover all these cases.
t
Of course adding it 👍