[MAGNOLIA-5670] duplicated search results in languages other than english Created: 12/Feb/14 Updated: 17/Mar/21 Resolved: 17/Mar/21 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | i18n |
| Affects Version/s: | 5.2.2 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Sonila Dobi | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | i18n, maintenance | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
OS-windows |
||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Date of First Response: |
| Description |
|
when authoring in the confgiration module is enabled, and the website content has atleast another language other than english, there are problems when the other language is selected and a search is performed (check when previewing a page). When the language e.g. german is selected, and you search for a word in german, then results are shown double. It seems as if it shows the expected german results plus one more for each. Let's say in a text component you left it blank the english version and wrote something only in the german version and in a german language. Now if you search a german word, it will show the german result because it is there, and since there is nothing in the english, it will substitute this with the german word, and therefore you have the same result displayed twice. More details here: http://forum.magnolia-cms.com/forum/thread.html?threadId=e2d65b20-eae3-4629-a4ac-21741398715d |
| Comments |
| Comment by Mathias Conradt [ 07/Dec/16 ] |
|
Just a note: I am having the same or similar and had the same or related question, which I asked here: http://stackoverflow.com/questions/32783527/magnolia-cms-how-to-get-locale-based-excerpt-for-search-result I think in general, it would make more sense to not even display results in all languages but only for the currently selected language. I think the excerpt should be divided by languages. |
| Comment by Jan Haderka [ 17/Mar/21 ] |
|
The underlying search engine (JR Lucene indexer) doesn't support configuration required here. Solution is to use external indexing and index each language separately. More details eg at https://documentation.magnolia-cms.com/display/WIKI/Localized+Search+with+Apache+Solr |