Problems when using keywords with spaces

Author Message

Bertin Hansen

Monday 21 June 2010 2:38:57 am

Hi.

Running: ezfind 2.2.0 with ezpublish 4.3.0 and php 5.2.x

We have some issues with multilingual setup. Keywords with spaces work in english, but not in norwgian or other languages.

We have tried to use luke to look at the index and values are correctly stored.

The problem is that some keywords sepeated by spaces do show up, whereas others do not. The results are consistens, meaning the same keywords fail every time.

Are we missing something in terms of configuration settings?

We currently run only one core, but have not fully understood the need to run seperate cores for languages.

When searching using ezfind (fetch function) we include double quotes before the keyword.

Does any one know why this does not work as expected.

Thanks guys.

Bertin Hansen

Monday 28 June 2010 12:41:27 am

PROBLEM SOLVED!

Just found out that when using a "Text line" field instead of a "Keyword" field everything is working perfectly in all languages.

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

Main resources:

Total runtime0.5672 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 591.6953152.6406
Module start 'layout' 0.00670.0033 744.335939.4766
Module start 'content' 0.01010.5559 783.8125495.0781
Module end 'content' 0.56590.0012 1,278.89068.1250
Script end 0.5671  1,287.0156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.5160160.0002
Check MTime0.00120.2151160.0001
Mysql Total
Database connection0.00080.145710.0008
Mysqli_queries0.522892.1717540.0097
Looping result0.00040.0714520.0000
Template Total0.537694.820.2688
Template load0.00210.371620.0011
Template processing0.535594.412820.2677
Template load and register function0.00010.020810.0001
states
state_id_array0.00050.091510.0005
state_identifier_array0.00060.114320.0003
Override
Cache load0.00170.3038200.0001
Sytem overhead
Fetch class attribute can translate value0.00050.079920.0002
Fetch class attribute name0.00110.199930.0004
XML
Image XML parsing0.00170.295920.0008
class_abstraction
Instantiating content class attribute0.00000.001530.0000
General
dbfile0.00170.2953160.0001
String conversion0.00000.006040.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
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs