source: trunk/dports/java/apache-solr/files/patch-solr-ja.diff @ 91889

Last change on this file since 91889 was 91889, checked in by hum@…, 8 years ago

apache-solr: update to 3.6.0; remove the dependency on lucene-gosen in ja variant.

File size: 1.8 KB
  • example/solr-ja/conf/schema.xml

    old new  
    931931
    932932   <!-- catchall field, containing all other searchable text fields (implemented
    933933        via copyField further on in this schema  -->
    934    <field name="text" type="text_general" indexed="true" stored="false" multiValued="true"/>
     934   <field name="text" type="text_ja" indexed="true" stored="false" multiValued="true"/>
    935935
    936936   <!-- catchall text field that indexes tokens both normally and in reverse for efficient
    937937        leading wildcard queries. -->
  • example/solr-ja/conf/solrconfig.xml

    old new  
    798798       <str name="wt">velocity</str>
    799799
    800800       <str name="v.template">browse</str>
     801       <str name="v.properties">velocity.properties</str>
    801802       <str name="v.layout">layout</str>
    802803       <str name="title">Solritas</str>
    803804
  • example/solr-ja/conf/velocity/head.vm

    old new  
    3232           extraParams:{
    3333             'terms.prefix': function() { return $("\#q").val();},
    3434             'terms.sort': 'count',
    35              'terms.fl': 'name',
     35             'terms.fl': 'text',
    3636             'wt': 'velocity',
    3737             'v.template': 'suggest'
    3838           }
  • example/solr-ja/conf/velocity/suggest.vm

    old new  
    1 #foreach($t in $response.response.terms.name)
     1#foreach($t in $response.response.terms.text)
    22$t.key
    33#end
     4 No newline at end of file
Note: See TracBrowser for help on using the repository browser.