title: Multiword synonyms and odd token order
body: <p>Why is the synonymTokenFilter putting the expanded term right after the match of the first token in a multiword synonym? While I'm using elasticsearch, this certainly would apply to any solr/lucene gurus out there as well. I am only applying this during index time, but it is in conjunction with shingles, so the order is extremely important. </p>
  
  <p>I have a synonym:</p>
  
  <p>popcorn popper,popcorn machine</p>
  
  <p>My synonymTokenFilter has expand=true via defaults in elasticsearch.</p>
  
  <p>When I view my tokens, popcorn machine is always inserted between popcorn and popper regardless whether the input term is popcorn popper or popcorn machine.</p>
  
  <p>Example analyzing "<em>popcorn popper</em>"</p>
  
  <pre><code> t1:Popcorn t2:popcorn t3:machine t4:popper
  </code></pre>
  
  <p>Example analyzing "<em>popcorn machine</em>"</p>
  
  <pre><code>  t1:Popcorn t2:popcorn t3:machine t4:popper
  </code></pre>