title: Matching system using ruby on rails
body: <p>I was looking at <a href="http://www.okcupid.com/" rel="nofollow" title="okcupid">okcupid</a> and I was wondering ,how I can do a matching system like that using ruby on rails ,I mean </p>
  
  <ol>
  <li>members answer some questions and choose preferred answers too </li>
  <li>matching is calculated between other members  </li>
  <li>ordering members based on matching and enemy scores which is of course will be different from user to user  </li>
  <li>personality matching too bases on the
  questions the user is answering</li>
  </ol>
  
  <p>Do you have any suggestions for a matching systems like that based on answers and geolocation, as I think normal searching solutions like squeel or ransack will not be suitable for something like that.</p>
  
  <p>What about elastic search or sphinx ?</p>