Tutorials & articles written by Thomas Nunninger

Creating a Search Engine

On a big website or intranet, retrieving relevant content is key to site usability. In addition to a navigation structure based on the document hierarchy, most large sites have an internal search engine that accesses indexed content. In this article we look at the challenges involved with creating an internal search engine. This article is also an overview of the current research at eZ Systems in this area. As part of a research project, I have evaluated different relevance-based ranking concepts and have written a basic test implementation using different approaches.

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 18:24:55
Script start
Timing: Jan 18 2025 18:24:55
Module start 'layout'
Timing: Jan 18 2025 18:24:55
Module start 'community'
Timing: Jan 18 2025 18:24:55
Module end 'community'
Timing: Jan 18 2025 18:24:55
Script end

Main resources:

Total runtime0.0594 sec
Peak memory usage4,096.0000 KB
Database Queries24

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 587.7891152.6094
Module start 'layout' 0.00450.0019 740.398431.6563
Module start 'community' 0.00640.0521 772.0547426.8281
Module end 'community' 0.05850.0009 1,198.882810.6406
Script end 0.0594  1,209.5234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00274.4799140.0002
Check MTime0.00111.8709140.0001
Mysql Total
Database connection0.00081.324110.0008
Mysqli_queries0.033856.8544240.0014
Looping result0.00020.3546210.0000
Template Total0.044274.320.0221
Template load0.00132.136820.0006
Template processing0.042972.169720.0214
Template load and register function0.00020.253910.0002
Override
Cache load0.00091.490240.0002
states
state_id_array0.00081.401610.0008
state_identifier_array0.00030.573610.0003
Sytem overhead
Fetch class attribute name0.00091.529510.0009
class_abstraction
Instantiating content class attribute0.00000.008410.0000
General
dbfile0.00010.211070.0000
String conversion0.00000.011230.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1community/articles.tpl<No override>extension/community_design/design/suncana/templates/community/articles.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.0001 secs