Same word in 2 languages = problem

Author Message

Caroline Condamin

Tuesday 09 December 2008 8:46:29 am

Hi everybody,

I use ez4.0.0 and ezFind. I implemented 2 siteacces in my website : /fre and /eng and I use 2 languages : fre-FR and eng-GB.

My problem is that when I search a word like "Association" or "Union" (which is the same word in the 2 languages).
The result of the research shows me twice each object that contains the word : one in french, the other in english. And whatever the siteacces is, I have the 2 versions of this object.

I want ezFind to return me just the version that conrresponds with the current siteaccess.

I know that ezFind cannot do that... Can anybody tell me if ezFind2 can?

Thanks a lot!!

Caroline

Paul Borgermans

Thursday 08 January 2009 11:50:49 am

Yes, by default eZ Find 2.0 searches in the current language only

hth
Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

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

eZ debug

Timing: Jan 18 2025 10:32:42
Script start
Timing: Jan 18 2025 10:32:42
Module start 'layout'
Timing: Jan 18 2025 10:32:42
Module start 'content'
Timing: Jan 18 2025 10:32:44
Module end 'content'
Timing: Jan 18 2025 10:32:44
Script end

Main resources:

Total runtime1.3857 sec
Peak memory usage4,096.0000 KB
Database Queries56

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 588.0625152.6406
Module start 'layout' 0.00590.0051 740.703139.4766
Module start 'content' 0.01101.3722 780.1797526.3047
Module end 'content' 1.38320.0025 1,306.48448.1328
Script end 1.3857  1,314.6172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.2758160.0002
Check MTime0.00160.1122160.0001
Mysql Total
Database connection0.00070.052410.0007
Mysqli_queries1.338196.5633560.0239
Looping result0.00060.0434540.0000
Template Total1.338296.620.6691
Template load0.00210.149420.0010
Template processing1.336196.417020.6680
Template load and register function0.00010.010310.0001
states
state_id_array0.00240.172010.0024
state_identifier_array0.00260.188320.0013
Override
Cache load0.00170.1224160.0001
Sytem overhead
Fetch class attribute can translate value0.00060.041120.0003
Fetch class attribute name0.00130.093630.0004
XML
Image XML parsing0.00060.044920.0003
class_abstraction
Instantiating content class attribute0.00000.000530.0000
General
dbfile0.00090.0621170.0001
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs