Open namlook opened 10 years ago
Or at least, allow to facet by language. To tell the system what field is representing the language of the document, add langField on model.
langField
If queryCurrentLang then query only the document which match the current language (the lang field is specified on langField) :
queryCurrentLang
{ BlogPost: { i18n: { langField: 'lang', queryCurrentLang: true }, schema: { lang: {type: string} } }
Or at least, allow to facet by language. To tell the system what field is representing the language of the document, add
langField
on model.If
queryCurrentLang
then query only the document which match the current language (the lang field is specified onlangField
) :