Forums / Extensions / eZ Find / main_url_alias in solr fits not the lang., it's indexed at

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 ;-)

eZ debug

Timing: Jan 18 2025 02:56:03
Script start
Timing: Jan 18 2025 02:56:03
Module start 'content'
Timing: Jan 18 2025 02:56:03
Module end 'content'
Timing: Jan 18 2025 02:56:03
Script end

Main resources:

Total runtime0.0208 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 589.1328180.7422
Module start 'content' 0.00770.0048 769.875090.8516
Module end 'content' 0.01250.0081 860.726666.7031
Script end 0.0207  927.4297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002311.0746120.0002
Check MTime0.00105.0355120.0001
Mysql Total
Database connection0.00104.599110.0010
Mysqli_queries0.003818.380440.0010
Looping result0.00000.124020.0000
Template Total0.007737.010.0077
Template load0.00083.959510.0008
Template processing0.006933.032110.0069
Override
Cache load0.00062.677910.0006
General
dbfile0.003315.8517100.0003
String conversion0.00000.029930.0000
Note: percentages do not add up to 100% because some accumulators overlap

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