title: Customize pg_search to only show current user's content
body: <p>I have a multiuser site, and I want users to be able to full-text multi-model search <em>only</em> their own content. </p>
  
  <p>My Work model belongs_to: :users. Here's a snippet of work.rb :</p>
  
  <pre><code>class Work &lt; ApplicationRecord
    include PgSearch
    belongs_to :user
    …
  </code></pre>
  
  <p>The ideal scenario would be something like this in my controller:</p>
  
  <pre><code>@results = PgSearch.multisearch('spring').where(:_user_id =&gt; current_user.id)
  </code></pre>
  
  <p>I was able to easily do this using the Searchkick gem with Elasticsearch by using this line of code:</p>
  
  <pre><code>@results = Searchkick.search query, where: {user_id: current_user.id}
  </code></pre>
  
  <p>I can't use Elasticsearch anymore unfortunately.</p>
  
  <p>How can I implement similar functionality in pg_search?</p>
  
  <p>Thanks a lot</p>