core icon indicating copy to clipboard operation
core copied to clipboard

Site Search Indexation other than English returns no results in 2.2.1

Open DeanGonzalez opened this issue 13 years ago • 5 comments

Tested in 2.2.1 version running MySQL. It is however, working on master version just fine.

To reproduce: 1) I created generic content both in English and in Spanish. 2) I created an alias, then I ran site search index on Spanish content only on that alias 3) When to search tool on backend site search and tried to find the spanish term on the spanish index= never any results... but it does find the English version... like language is not being respected other than English

Not working in 2.2.1: http://screencast.com/t/iXoN8F4z3FRX

However, this is working on Master: http://screencast.com/t/Zw0DdZqVk

DeanGonzalez avatar Feb 26 '13 22:02 DeanGonzalez

Do we have someone asking for this in 2.2? If not, I would fix in 2.5.

Will


Will Ezell http://dotcms.com phone: (305) 900-2001 ext. 7010 direct: (978) 294-9429 https://www.google.com/voice/b/0?pli=1#phones skype: wezell1

On Tue, Feb 26, 2013 at 5:43 PM, DeanGonzalez [email protected]:

Tested in 2.2.1 version running MySQL. It is however, working on master version just fine.

To reproduce:

  1. I created generic content both in English and in Spanish.
  2. I created an alias, then I ran site search index on Spanish content only on that alias
  3. When to search tool on backend site search and tried to find the spanish term on the spanish index= never any results... but it does find the English version... like language is not being respected other than English

Not working in 2.2.1: http://screencast.com/t/iXoN8F4z3FRX

However, this is working on Master: http://screencast.com/t/Zw0DdZqVk

— Reply to this email directly or view it on GitHubhttps://github.com/dotCMS/dotCMS/issues/2207 .

dotcmsCodeReview avatar Feb 27 '13 12:02 dotcmsCodeReview

I'm able to reproduce in my environment: dotCMS 2.2.1 // postgres

bryanboza avatar Feb 27 '13 16:02 bryanboza

@bryanboza yes we know it is an issue but works in master and we are not going to fix in 2.2.x for now

jtesser avatar Feb 27 '13 16:02 jtesser

Add a +language:2 to the es query

so it could look like:

+language:2 +_all:mySpanishword

Does that work?

Will


Will Ezell http://dotcms.com phone: (305) 900-2001 ext. 7010 direct: (978) 294-9429 https://www.google.com/voice/b/0?pli=1#phones skype: wezell1

On Wed, Feb 27, 2013 at 11:41 AM, Jason Tesser [email protected]:

@bryanboza https://github.com/bryanboza yes we know it is an issue but works in master and we are not going to fix in 2.2.x for now

— Reply to this email directly or view it on GitHubhttps://github.com/dotCMS/dotCMS/issues/2207#issuecomment-14184069 .

wezell avatar Feb 27 '13 16:02 wezell

leaving this for 2.5m1 which will be releasing shortly anyway

DeanGonzalez avatar Feb 27 '13 17:02 DeanGonzalez