main_url_alias in solr fits not the lang., it's indexed at

Author Message

Jens Görisch

Wednesday 15 October 2008 8:39:29 am

In my solr index some objects exist in different languages, but all indexed documents have the same main_url_alias (top priority language of the siteaccess indexed at, i guess). Is it a bug or is this field not used at all?

I use the trunk version of ezfind, if it's important.

Further i wonder about how this field can be used effectively. When for example a parent nodes name of a some objects changes, theoretically all subitems must be reindexed recursively to keep the index up to date with the changed url alias. Is this done already by the eZ Publish or is it planned to implement such behavior, perhaps?

I'm asking this, because this field would be really nice for multilanguage search and for now it's really hard to assemble a correct url alias path from the search result. I use /content/view/full at the moment, as this is the least complicated way to link objects outside the current siteaccess/language. But it's not the finest ;-)

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:39:10
Script start
Timing: Jan 18 2025 10:39:10
Module start 'layout'
Timing: Jan 18 2025 10:39:10
Module start 'content'
Timing: Jan 18 2025 10:39:10
Module end 'content'
Timing: Jan 18 2025 10:39:10
Script end

Main resources:

Total runtime0.3955 sec
Peak memory usage4,096.0000 KB
Database Queries48

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 588.2031152.6563
Module start 'layout' 0.00510.0030 740.859439.5234
Module start 'content' 0.00810.3861 780.3828402.4219
Module end 'content' 0.39420.0013 1,182.80478.0859
Script end 0.3955  1,190.8906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.7727160.0002
Check MTime0.00130.3322160.0001
Mysql Total
Database connection0.00070.185610.0007
Mysqli_queries0.363191.7962480.0076
Looping result0.00050.1158460.0000
Template Total0.361791.420.1808
Template load0.00230.579720.0011
Template processing0.359490.851920.1797
Template load and register function0.00020.041210.0002
states
state_id_array0.00140.348610.0014
state_identifier_array0.00130.338220.0007
Override
Cache load0.00190.471570.0003
Sytem overhead
Fetch class attribute can translate value0.00060.144810.0006
Fetch class attribute name0.00050.128910.0005
XML
Image XML parsing0.00010.029610.0001
class_abstraction
Instantiating content class attribute0.00000.000710.0000
General
dbfile0.00060.1643100.0001
String conversion0.00000.001740.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0002 secs