Share » Forums » Extensions » Extension ngsuggest installation.

Extension ngsuggest installation.

Extension ngsuggest installation.

Wednesday 25 August 2010 12:29:33 am - 3 replies

Author Message

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

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu