solr conf to search events
authorMarcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Mon, 27 Aug 2012 22:17:14 +0000 (00:17 +0200)
committerMarcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Mon, 27 Aug 2012 22:17:14 +0000 (00:17 +0200)
doc/solr-conf/schema.xml
doc/solr-conf/solrconfig.xml

index b2332aa..488f2cc 100644 (file)
     <field name="title_en" type="text_en" indexed="true" stored="true" multiValued="false" />
     <field name="body_en" type="text_en" indexed="true" stored="true" multiValued="false" />
 
+    <field name="organiser_en" type="text_en" indexed="true" stored="true" multiValued="false" />
+    <field name="place_en" type="text_ws" indexed="true" stored="true" multiValued="false" />
+    <field name="organiser_pl" type="text_en" indexed="true" stored="true" multiValued="false" />
+    <field name="place_pl" type="text_ws" indexed="true" stored="true" multiValued="false" />
+
   </fields>
 
   <!-- field to use to determine and enforce document uniqueness. -->
index 57440bf..cab43bc 100644 (file)
         lead_en^1.0
         body_pl^1.5
         body_en^1.5
+         place_en^0.5
+         place_pl^1.0
+         organiser_pl^1.0
+         organiser_en^0.5
        </str>
        <int name="rows">50</int>
        <int name="qs">2</int>