diff options
| author | hukl <contact@smyck.org> | 2009-08-08 16:04:21 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-08-08 16:04:21 +0200 |
| commit | c21ac1c25cbdddcaade04f86ef944959f4815209 (patch) | |
| tree | 581fa2d6017e0369df12f90287691abf1f1a74e9 | |
| parent | 07640b26e796f604535e37adad4533cfbdc2740b (diff) | |
additionally indexing slug and unique name
| -rw-r--r-- | app/models/node.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/node.rb b/app/models/node.rb index 2a82ba8..b45ba80 100644 --- a/app/models/node.rb +++ b/app/models/node.rb | |||
| @@ -20,6 +20,8 @@ class Node < ActiveRecord::Base | |||
| 20 | # Index for Fulltext Search | 20 | # Index for Fulltext Search |
| 21 | define_index do | 21 | define_index do |
| 22 | indexes head.globalize_translations.title | 22 | indexes head.globalize_translations.title |
| 23 | indexes slug | ||
| 24 | indexes unique_name | ||
| 23 | end | 25 | end |
| 24 | 26 | ||
| 25 | # Class methods | 27 | # Class methods |
