3.8 multilanguage search - complete nonsense

Author Message

Heiner Wurbs

Tuesday 24 October 2006 7:29:51 am

Hi ! I have a site with 2 languages, accessing them with different siteaccesses, one for ger-DE and one for eng-GB.

The search finds results, no matter to which siteaccess they belong to. Does sb else has this problems too and could it be solved ?

I asked for that time before, but nobody had an answer:
http://ez.no/community/forum/setup_design/3_8_multilanguage_search_strange

Greetings
Heiner

Kristof Coomans

Tuesday 24 October 2006 7:40:54 am

Hi Heiner

Sorry for not responding to your previous post, it must have slipped through my fingers.

I'm afraid that the functionality you describe is currently not implemented in the default search engine. Let's hope it can be part of eZ 3.10.

Maybe we'll implement it in the Lucene search plugin, but I don't know when...

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Paul Borgermans

Tuesday 24 October 2006 2:05:52 pm

hi

Yes, this will be implemented in the Lucene search plugin: every language version of an object will be indexed seperately. Template and/or ini settings will control the behaviour: search all languages or only the "default" language of the current siteaccess. target release will be ezp 3.9, maybe backported to 3.7/3.8 ... language handling is somewhat different in these versions ..

Expected implementation date: end of november

Paul

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

Heiner Wurbs

Thursday 26 October 2006 1:16:41 am

Thanks for your answers ! That made it clear. So, as I see, there are two possibilities:

1) Removing information about number of hits and the paging at the bottom
or
2) Set up a database for the 2cnd language: but that's not a multilanguage website anymore

We are wondering, how other solve that problem, especially enterprise websites, where this bevaviour returns into strange results.

By the way, woudn't it be easy to add this functionality in the 3.8. ? As I see, it could be enough, if the table ezsearch_word or better the ezsearch_object_word_link would have a coloumn "locale".
Regards
Heiner

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 19 2025 00:54:40
Script start
Timing: Jan 19 2025 00:54:40
Module start 'layout'
Timing: Jan 19 2025 00:54:40
Module start 'content'
Timing: Jan 19 2025 00:54:41
Module end 'content'
Timing: Jan 19 2025 00:54:41
Script end

Main resources:

Total runtime1.5196 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 590.4219152.6406
Module start 'layout' 0.00700.0035 743.062539.4766
Module start 'content' 0.01051.5074 782.5391593.9531
Module end 'content' 1.51790.0016 1,376.492212.1250
Script end 1.5196  1,388.6172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2317160.0002
Check MTime0.00140.0930160.0001
Mysql Total
Database connection0.00100.064210.0010
Mysqli_queries1.452495.5777620.0234
Looping result0.00080.0531600.0000
Template Total1.478297.320.7391
Template load0.00220.143320.0011
Template processing1.476097.126820.7380
Template load and register function0.00030.018410.0003
states
state_id_array0.00190.124010.0019
state_identifier_array0.00180.116920.0009
Override
Cache load0.00180.1193300.0001
Sytem overhead
Fetch class attribute can translate value0.00090.058630.0003
Fetch class attribute name0.00140.092860.0002
XML
Image XML parsing0.00560.366330.0019
class_abstraction
Instantiating content class attribute0.00000.000960.0000
General
dbfile0.00650.4288230.0003
String conversion0.00000.000840.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/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: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs