Search results appear in reverse input order - oldest first

Author Message

cousin mosquito

Monday 13 September 2010 3:28:27 pm

The first thing that people comment on with our newly launched site, is that the search results come up in reverse order. So if I uploaded new content today, I would have to wade through many many pages of results, to find it listed at the very last spot.

We have good reason to have the recent stuff coming up first, as we have a big civil - defense emergency happening here right now.

Is there somewhere I can change this setting ?

We are using the standard search, but will go to SOLR later when the heat comes off.
ezpublish-4.1.3

Asking the dumb questions for your benefit

Ivo Lukac

Tuesday 14 September 2010 12:28:09 am

Hi,

You can sort your results in simple search by published desc order. But ezfind with solr will be better choice because it has relevance sorting (default ez search does not).

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

cousin mosquito

Wednesday 15 September 2010 3:32:15 pm

"

Hi,

You can sort your results in simple search by published desc order. But ezfind with solr will be better choice because it has relevance sorting (default ez search does not).

"

Thanks for the response Ivo, but what is simple search ?
Searching on "simple search" in this forum and the ez.no documentation site does not bring up any obvious hits.

It seems strange to me that out of the box, ez displays stuff in backwards order ?

Asking the dumb questions for your benefit

Ivo Lukac

Friday 17 September 2010 3:14:24 am

"
"

Hi,

You can sort your results in simple search by published desc order. But ezfind with solr will be better choice because it has relevance sorting (default ez search does not).

"

Thanks for the response Ivo, but what is simple search ?
Searching on "simple search" in this forum and the ez.no documentation site does not bring up any obvious hits.

It seems strange to me that out of the box, ez displays stuff in backwards order ?

"

With simple search I mean default ez search system, as a opposite to ezfind extension which uses solr as search subsystem.

The sorting can be easily adjusted in templates. Regarding the out of the box order it can't be good for all implementations, of course, but luckily you can adjust it.

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

cousin mosquito

Sunday 19 September 2010 9:20:05 pm

"
"
"

Hi,

You can sort your results in simple search by published desc order. But ezfind with solr will be better choice because it has relevance sorting (default ez search does not).

"

Thanks for the response Ivo, but what is simple search ?
Searching on "simple search" in this forum and the ez.no documentation site does not bring up any obvious hits.

It seems strange to me that out of the box, ez displays stuff in backwards order ?

"

With simple search I mean default ez search system, as a opposite to ezfind extension which uses solr as search subsystem.

The sorting can be easily adjusted in templates. Regarding the out of the box order it can't be good for all implementations, of course, but luckily you can adjust it.

"

Best I "adjust it then" as my latest search results are already 29 pages deep. Excellent.

I will search up the documentation on how to edit the search.tpl

Asking the dumb questions for your benefit

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 04:25:12
Script start
Timing: Jan 18 2025 04:25:12
Module start 'layout'
Timing: Jan 18 2025 04:25:12
Module start 'content'
Timing: Jan 18 2025 04:25:13
Module end 'content'
Timing: Jan 18 2025 04:25:13
Script end

Main resources:

Total runtime0.8546 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0075 592.3594152.6563
Module start 'layout' 0.00750.0042 745.015639.5078
Module start 'content' 0.01170.8411 784.5234585.9141
Module end 'content' 0.85280.0017 1,370.437516.0938
Script end 0.8545  1,386.5313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00490.5741160.0003
Check MTime0.00150.1707160.0001
Mysql Total
Database connection0.00080.095110.0008
Mysqli_queries0.775090.6923630.0123
Looping result0.00070.0848610.0000
Template Total0.814095.320.4070
Template load0.00320.374120.0016
Template processing0.810894.876120.4054
Template load and register function0.00010.014310.0001
states
state_id_array0.00080.092310.0008
state_identifier_array0.00160.183820.0008
Override
Cache load0.00290.3423490.0001
Sytem overhead
Fetch class attribute can translate value0.00070.083820.0004
Fetch class attribute name0.00230.273170.0003
XML
Image XML parsing0.00110.127920.0005
class_abstraction
Instantiating content class attribute0.00010.0086100.0000
General
dbfile0.00150.1704230.0001
String conversion0.00000.001540.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
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
6content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
3content/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: 37
 Number of unique templates used: 8

Time used to render debug report: 0.0001 secs