title: How to do simple boolean query in sunspot solr
body: <pre><code>&gt;&gt;&gt; marketing = User.search do |s|
  &gt;&gt;&gt;     s.fulltext "Marketing"
  &gt;&gt;&gt; end
  &gt;&gt;&gt; marketing.total
  1448
  
  &gt;&gt;&gt; sales = User.search do |s|
  &gt;&gt;&gt;     s.fulltext "Sales"
  &gt;&gt;&gt; end
  &gt;&gt;&gt; sales.total
  567
  
  &gt;&gt;&gt; marketing_and_sales = User.search do |s|
  &gt;&gt;&gt;     s.fulltext "Marketing AND Sales"
  &gt;&gt;&gt; end
  &gt;&gt;&gt; marketing_and_sales.total
  945
  
  &gt;&gt;&gt; marketing_or_sales = User.search do |s|
  &gt;&gt;&gt;     s.fulltext "Marketing OR Sales"
  &gt;&gt;&gt; end
  &gt;&gt;&gt; marketing_or_sales.total
  945  
  
  &lt;Sunspot::Search:{:fq=&gt;["type:User"], :q=&gt;"Marketing AND Sales", :fl=&gt;"* score",      :qf=&gt;"textfield1 textfield2 textfield3", :defType=&gt;"dismax", :start=&gt;0, :rows=&gt;30}&gt;
  </code></pre>
  
  <p>I want simple boolean queries to get working on sunspot-rails, solr
  I tried many possibilities its not simply taking it.</p>
  
  <p>The AND and NOT seems to be working as per the dismax configuration.
  How can i make OR query working.</p>
  
  <p>Thanks in advance.</p>