Modified: trunk/app/models/user.rb (3744 => 3745)
--- trunk/app/models/user.rb 2013-10-07 08:42:28 UTC (rev 3744)
+++ trunk/app/models/user.rb 2013-10-07 14:29:52 UTC (rev 3745)
@@ -305,6 +305,8 @@
if Conf.solr_enable
searchable :if => :activated_at do
text :name, :as => 'name', :boost => 2.0
+ text :given_name, :as => 'given_name'
+ text :family_name, :as => 'family_name'
text :email, :as => 'email' do profile.email end
text :website, :as => 'website' do profile.website end
text :body, :as => 'description' do profile.body end
Modified: trunk/solr/conf/schema.xml (3744 => 3745)
--- trunk/solr/conf/schema.xml 2013-10-07 08:42:28 UTC (rev 3744)
+++ trunk/solr/conf/schema.xml 2013-10-07 14:29:52 UTC (rev 3745)
@@ -228,6 +228,8 @@
<field name="title" stored="false" type="text" multiValued="true" indexed="true"/>
<field name="name" stored="false" type="text" multiValued="true" indexed="true"/>
+ <field name="given_name" stored="false" type="text" multiValued="true" indexed="true"/>
+ <field name="family_name" stored="false" type="text" multiValued="true" indexed="true"/>
<field name="email" stored="false" type="text" multiValued="true" indexed="true"/>
<field name="website" stored="false" type="text" multiValued="true" indexed="true"/>
<field name="field_or_industry" stored="false" type="text" multiValued="true" indexed="true"/>