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):
- text is tokenized by white space
- stop filter factory removes unwanted words defined in 'stopwords.txt' /*what is its purpose*/
- factory for slicing and combining words is called (useful for slicing words with numbers) but without concatenations /* what it is*/
- 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" />
|