The ElasticSearch Connector Search API backend does not support the default Search API language filtering feature. The language code is not stored in the ES index and if I add a filter "Index default: Item language" on the search view, nothing changes in the results.

Comments

sbesselsen created an issue. See original summary.

sbesselsen’s picture

I have fixed this.

skek’s picture

Status: Active » Needs review
skek’s picture

Status: Needs review » Needs work

This patch needs to be updated because cannot be applied at the current dev version.

george.ariton’s picture

Any news on this?

The issue persists.

renrhaf’s picture

I encounter the same issue, I'll update the patch for the latest dev version.

renrhaf’s picture

Rerolled patch against latest dev version of 8.x-5.x.
Will test it & confirm if it's working soon !

renrhaf’s picture

Status: Needs work » Reviewed & tested by the community

Confirming patch from #7 works properly on my site to restrict search to the current language.
Setting the issue to RTBC, many thanks @sbesselsen !

@skek: Can you have a look and eventually merge this ?

renrhaf’s picture

  • skek committed 5c0add7 on 8.x-5.x authored by Renrhaf
    Issue #2922149 by Renrhaf, sbesselsen: Default search API language...

  • skek committed c72c62e on 8.x-6.x authored by Renrhaf
    Issue #2922149 by Renrhaf, sbesselsen: Default search API language...
skek’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.