Gravatar for jsleik@iewc.com

Question by jsleik, Apr 25, 2017 4:48 PM

Index Browser Showing "Unknown Language"

Right now, the majority of pages and media items across our site are utilizing a Fallback Language, and all as worked well. Just recently I uploaded some new PDFs that had a unique language version activated, with all other languages at 0. (i.e. PDF contains German language version, and other 5 languages are non-existent.)

Per the screen shot below, it appears that Coveo is grabbing all the unique versions, but I have yet to be able to find any of these unique PDFs in the search. I noticed that in the details of the doc in the Index Browser it shows "Language: Unknown Language". Is this the issue? And if so, how do I remedy it so that if I upload a PDF with only a German language version, that it will show up in only the German search results?

Note: I do have the "Filter results on the current context language" box checked already.

Using Coveo for Sitecore.

capture.jpg

Gravatar for lbergeron@coveo.com

Comment by Luc Bergeron, Apr 25, 2017 5:50 PM

The "Language: Unknown Language" you see in the Index Browser represents the language detected by the Coveo index. This detection is based on the content of the file and does not depend on Sitecore. However, Coveo for Sitecore retrieves the item language from the "_language" field. After translation, this field will appear as "fz95xlanguage#####" in the Index Browser. This is the field that is used for filtering when the "Filter results on the current context language" check box is checked.

Unfortunately, I don't understand what you mean when you say:

> how do I remedy it so that if I upload a PDF with only a German language version, that it will show up in only the German search results?

Do you mean that you don't want language fallback on this particular item?

1 Reply
Gravatar for jsleik@iewc.com

Answer by jsleik, Apr 25, 2017 6:26 PM

We have 6 websites (US, Canada, Germany, etc.) and they all share the same Coveo search. I uploaded a PDF that only had a German language version, with all other versions at 0. This PDF should only show up on searches on the German site.

Ask a question