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" />

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 30 2025 19:40:23
Script start
Timing: Jan 30 2025 19:40:23
Module start 'layout'
Timing: Jan 30 2025 19:40:23
Module start 'content'
Timing: Jan 30 2025 19:40:23
Module end 'content'
Timing: Jan 30 2025 19:40:23
Script end

Main resources:

Total runtime0.1016 sec
Peak memory usage8,192.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 588.1406151.2109
Module start 'layout' 0.00580.0549 739.3516220.7031
Module start 'content' 0.06070.0393 960.05471,002.4297
Module end 'content' 0.10000.0016 1,962.484433.9922
Script end 0.1016  1,996.4766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00282.7452140.0002
Check MTime0.00111.1098140.0001
Mysql Total
Database connection0.00100.993910.0010
Mysqli_queries0.053052.193230.0177
Looping result0.00000.024610.0000
Template Total0.00121.210.0012
Template load0.00080.792110.0008
Template processing0.00030.338610.0003
Override
Cache load0.00060.554010.0006
General
dbfile0.00444.339180.0006
String conversion0.00000.009940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs