We have external data which we need to store in the index and use it in the search.
We are indexing data the following way:
Id = 1,
Heading = "Header 1",
It would be grate to use something like this in the result:
var result = SearchClient.Instance.Search(Language.Swedish)
What is correct way to index data with several languages?
The Language input is only used for stemming and analyzers.You should add a language property on your type and use .Filter(...). This is how it works on standard episerver content.