solr config changes
authorMarcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Fri, 26 Oct 2012 10:48:17 +0000 (12:48 +0200)
committerMarcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Fri, 26 Oct 2012 10:48:17 +0000 (12:48 +0200)
doc/schema.xml
doc/solrconfig.xml

index 510a961..6b89c00 100644 (file)
    <field name="slug" type="text_general" stored="false" indexed="true" omitNorms="true"/> <!-- no norms -->
    <field name="tags" type="lowercase" stored="false" indexed="true" multiValued="true"/>
    <field name="is_book" type="boolean" stored="false" indexed="true"/>
-   <field name="authors" type="text_general" stored="false" indexed="true" multiValued="true"/>
-   <field name="translators" type="text_general" stored="false" indexed="true" multiValued="true"/>
+   <field name="authors" type="text_general" stored="false" indexed="true" multiValued="true" termPositions="true" termVectors="true"/>
+   <field name="translators" type="text_general" stored="false" indexed="true" multiValued="true" termPositions="true" termVectors="true" />
    <field name="title" type="text_pl" stored="false" indexed="true"/>
    <field name="title_orig" type="text_general" stored="false" indexed="true"/>
 <!--   <field name="published_date" type="tdate" stored="false" indexed="true"/>-->
index a27c213..c571440 100644 (file)
        <str name="echoParams">explicit</str>
        <int name="rows">50</int>
        <str name="df">text</str>
-      <bool name="tv">true</bool>
      </lst>
     <!-- In addition to defaults, "appends" params can be specified
          to identify values which should be appended to the list of
          <str>nameOfCustomComponent2</str>
        </arr>
       -->
-    <arr name="last-components">
-      <str>tvComponent</str>
-    </arr>
     </requestHandler>
 
   <!-- A request handler that returns indented JSON by default -->