ruby - Rails thinking_sphinx search for any terms -


If there is any way to record all the words in a search phrase as a 'or' statement I'm curious

for example I put

  Transcript.search 'good time'  

but only when a record is received

  Transcript.search 'Good | Bar ' 

Returns 20 records I tried to add match_mode too

  Transcript.search' good time ',: match_mode = & gt; : Anyone  

but it still gives a record. I place a string instead. At all places, but I think I am missing something to do this work, no insights will be appreciated!


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -