Advertisement
CanOfBees

solr-1

Oct 13th, 2015
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.74 KB | None | 0 0
  1. <example>
  2.     <!-- input -->
  3.     <input>
  4.         <aaa>Value 1</aaa>
  5.         <aaa>Value 2</aaa>
  6.         <aaa>Value 3</aaa>
  7.     </input>
  8.  
  9.     <!-- solr -->
  10.     <field name="aaa_1_s">Value 1</field>
  11.     <field name="aaa_2_s">Value 2</field>
  12.     <field name="aaa_3_s">Value 3</field>
  13.  
  14.     <arr name="aaa_ms">
  15.         <str>Value 1</str>
  16.         <str>Value 2</str>
  17.         <str>Value 3</str>
  18.     </arr>
  19.  
  20.     <!-- solr config -->
  21.     <copyField source="*_s" dest="*_mlt"/>
  22.     <copyField source="*_s" dest="*_t"/>
  23.     <copyField source="*_s" dest="*_ms"/>
  24.     <copyField source="*_s" dest="*_mt"/>
  25.     <copyField source="*_s" dest="*_ss"/>
  26.     <copyField source="*_ms" dest="*_mt"/>
  27.     <copyField source="*_dt" dest="*_mt"/>
  28.     <copyField source="*_dt" dest="*_mdt"/>
  29.     <copyField source="*_mdt" dest="*_mt"/>
  30. </example>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement