Forums / Setup & design / 3.8 multilanguage search - complete nonsense

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

eZ debug

Timing: Jan 19 2025 00:20:50
Script start
Timing: Jan 19 2025 00:20:50
Module start 'content'
Timing: Jan 19 2025 00:20:50
Module end 'content'
Timing: Jan 19 2025 00:20:51
Script end

Main resources:

Total runtime0.2012 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0127 588.9766180.8125
Module start 'content' 0.01280.0081 769.789197.9297
Module end 'content' 0.02090.1802 867.7188526.3750
Script end 0.2011  1,394.0938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00552.7555200.0003
Check MTime0.00170.8256200.0001
Mysql Total
Database connection0.00683.377110.0068
Mysqli_queries0.136767.93541410.0010
Looping result0.00190.95431390.0000
Template Total0.179789.310.1797
Template load0.00090.453810.0009
Template processing0.178788.851510.1787
Override
Cache load0.00070.326610.0007
Sytem overhead
Fetch class attribute can translate value0.00120.608410.0012
XML
Image XML parsing0.00030.161510.0003
General
dbfile0.00452.2379200.0002
String conversion0.00000.003930.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs