Forums / Extensions / Extension ngsuggest installation.

Extension ngsuggest installation.

Author Message

Romeo Antony

Wednesday 25 August 2010 12:29:33 am

I would like to install ngsuggest extension deveolped by Ivo , netgen.

But i hav followed the instructions , but it is quite complcated. It is a new extension .Have anyone installed and got it worked. Any ideas. It seems that it is very good extension, like google suggest search

Ivo Lukac

Wednesday 25 August 2010 12:48:06 am

What is the problem exactly?

Should be better to continue this on project forum: http://projects.ez.no/ngsuggest/forum/general

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

Romeo Antony

Wednesday 25 August 2010 1:34:17 am

Hi Ivo, first of all I would like to appreciate for this great extension and your work. I have read through following topics .

it seems , it is really needed for a web search.

In installlation instruction 4 and five , it is bit hard to follow ( sorry it is my problem am not an expert , its takes time to understand things ). I am trying to get more information about it from following links.

http://www.netgen.hr/eng/Blog/Building-Netgen-Suggest-extension-suggestion-drop-down-for-search-fields-using-Solr-facets

http://projects.ez.no/ngsuggest

Anyway I will keep digging on it.

Romeo

Romeo Antony

Wednesday 25 August 2010 4:50:36 am

Hi Ivo, I have read the your documentation about ngsuggest.

I understood the background working of this extension.

But can u plz help me understand these things. I couldn't catch it , Any help will be appreciable. I have no other way to get more info about it

Following actions are applied when indexing happens (similar as when querying):

  1. text is tokenized by white space
  2. stop filter factory removes unwanted words defined in 'stopwords.txt' /*what is its purpose*/
  3. factory for slicing and combining words is called (useful for slicing words with numbers) but without concatenations /* what it is*/
  4. lower case factory does casing normalization

Next, new field 'ngsuggest_text' is added under <fields> node:

<field name="ngsuggest_text" 
       type="text4suggest" 
       indexed="true" 
       stored="true" 
       multiValued="true" 
       termVectors="true" />

Finally, new field should be filled with content under <schema> node:

<copyField source="attr_*" dest="ngsuggest_text" />
<copyField source="meta_name_s" dest="ngsuggest_text" />
<copyField source="meta_url_alias_s" dest="ngsuggest_text" />

eZ debug

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

Main resources:

Total runtime0.6061 sec
Peak memory usage4,096.0000 KB
Database Queries198

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 587.7344180.8281
Module start 'content' 0.00670.4823 768.5625569.3359
Module end 'content' 0.48900.1171 1,337.8984336.7422
Script end 0.6061  1,674.6406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.6627210.0002
Check MTime0.00150.2423210.0001
Mysql Total
Database connection0.00110.185610.0011
Mysqli_queries0.527987.09201980.0027
Looping result0.00190.31971960.0000
Template Total0.574494.820.2872
Template load0.00240.396820.0012
Template processing0.571994.356120.2860
Template load and register function0.00010.024610.0001
states
state_id_array0.00120.202710.0012
state_identifier_array0.00140.234920.0007
Override
Cache load0.00210.3404350.0001
Sytem overhead
Fetch class attribute can translate value0.00150.253530.0005
Fetch class attribute name0.00110.186360.0002
XML
Image XML parsing0.00130.211930.0004
class_abstraction
Instantiating content class attribute0.00000.003180.0000
General
dbfile0.00410.6683340.0001
String conversion0.00000.001030.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
1content/datatype/view/ezxmltags/ol.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ol.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 9

Time used to render debug report: 0.0001 secs