Search Problem!

Author Message

Leandro Alves

Tuesday 06 July 2004 9:07:29 am

Hi!!!

I am having several problems with the search operator, it does't work fine!!! :(

<b>One of its:</b>
I created a new class called "Member" with the attributes Full Name(Text line), Occupation(Text line) and Picture (image) and set the roles... after I created the following members:

- Eder Silva Trevisoli
- Janaina A Padoveze
- Leandro D Alves

In my template, I have this code to search:

<div id="searchbox">
<form action={"/content/search/"|ezurl} method="get">
<input class="searchtext" type="text" size="10" name="SearchText" id="Search" value="" />
<input class="searchbutton" name="SearchButton" type="submit" value="Search" />
</form>
</div>

I haven't created a override template for search.tpl yet, I'm using the standard template.

<b>Cases:</b>

1. If I search for "Leandro" <b>or</b> "D" <b>or</b> "Alves", this return the message:
<b>Search for "One of above" returned 1 matches"</b>

2. If I search for "Eder" <b>or</b> "Silva" it <b>doesn't work</b>:
<b>No results were found when searching for "One of above"</b>

<b>But</b> If I search for "Trevisoli" it <b>work</b>:
<b>Search for "One of above" returned 1 matches"</b>

3. And with "Janaina" it doesn't work too, but with "Padoveze" it work!

<b>Other problem</b>

If I have a article's name im my database <b>with accent</b> and looking for this word <b>without accent</b>, the search return <b>ALL</b> objects of my site (All article, All forders, ALL images...)

Example:

Article's name: O que é Política?

If I search for <b>"Politica"</b> this return:

Users Anonymous User Guest accounts Administrator users Editors Administrator User Media Anonymous Users

And ALL others objects!!!

<b>What Can I do to resolve my problem?</b>
<b>Is there anything to do in my Database, in my eZ???</b>

My database is with a lot of things (articles, folders, images, files)

I performed the runcronjobs.php script but nothing happened!!! :(

Thanks a lot!
Leandro

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 01:05:12
Script start
Timing: Jan 19 2025 01:05:12
Module start 'layout'
Timing: Jan 19 2025 01:05:12
Module start 'content'
Timing: Jan 19 2025 01:05:13
Module end 'content'
Timing: Jan 19 2025 01:05:13
Script end

Main resources:

Total runtime1.3181 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0091 590.1563152.6094
Module start 'layout' 0.00910.0033 742.765639.3984
Module start 'content' 0.01251.3044 782.1641420.8750
Module end 'content' 1.31690.0012 1,203.03918.2031
Script end 1.3181  1,211.2422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.2885160.0002
Check MTime0.00170.1271160.0001
Mysql Total
Database connection0.00150.113310.0015
Mysqli_queries1.268796.2526460.0276
Looping result0.00050.0396440.0000
Template Total1.284197.420.6421
Template load0.00240.185320.0012
Template processing1.281797.235520.6408
Template load and register function0.00020.015310.0002
states
state_id_array0.00090.069610.0009
state_identifier_array0.00130.095620.0006
Override
Cache load0.00220.1679340.0001
Sytem overhead
Fetch class attribute can translate value0.00070.056610.0007
Fetch class attribute name0.00050.038110.0005
XML
Image XML parsing0.00010.008710.0001
class_abstraction
Instantiating content class attribute0.00000.000310.0000
General
dbfile0.00060.0461100.0001
String conversion0.00000.000540.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
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
7content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.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