Problem with search - ezfind

Problem with search - ezfind

Thursday 12 August 2010 4:45:43 am - 1 reply

Author Message

Jérôme Vieilledent

Saturday 14 August 2010 2:03:41 am

Hi Viraj

Take a look at ezfind.ini file. There is a setting SearchMainLanguageOnly in [LanguageSearch] which is enabled by default.

Comments in ezfind.ini says :

[LanguageSearch]
# It is possible to search all languages simultaneously, but the common use case is to search only the main language
## Example :
# in site.ini :
## [RegionalSettings]
# SiteLanguageList[]
# SiteLanguageList[]=eng-GB
# SiteLanguageList[]=fre-FR
## When SearchMainLanguageOnly is set to 'enabled', only results in the first language
# in site.ini[RegionalSettings].SiteLanguageList[] will be returned.
## When SearchMainLanguageOnly is set to 'disabled', results will be returned with respecting
# the fallback defined in site.ini[RegionalSettings].SiteLanguageList[] :
#   Of all matching results, the ones in eng-GB will be returned, and in case no translation in
#   eng-GB exists for a result, it will be returned in fre-FR if existing.SearchMainLanguageOnly=enabled[LanguageSearch]
# It is possible to search all languages simultaneously, but the common use case is to search only the main language
## Example :
# in site.ini :
## [RegionalSettings]
# SiteLanguageList[]# SiteLanguageList[]=eng-GB
# SiteLanguageList[]=fre-FR
## When SearchMainLanguageOnly is set to 'enabled', only results in the first language
# in site.ini[RegionalSettings].SiteLanguageList[] will be returned.
## When SearchMainLanguageOnly is set to 'disabled', results will be returned with respecting
# the fallback defined in site.ini[RegionalSettings].SiteLanguageList[] :
#   Of all matching results, the ones in eng-GB will be returned, and in case no translation in
#   eng-GB exists for a result, it will be returned in fre-FR if existing.SearchMainLanguageOnly=enabled

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.