Hi Hussein

This is the default behaviour of Sphinx itself - and there's no way to change 
that. If you want empty searches to return no results, you'll need to implement 
something in your app to display 'nothing' if there's no search query provided.

Kind regards,

-- 
Pat

On 08/05/2013, at 5:46 PM, Hussein Samadi wrote:

> Hi, 
> 
> By default, Thinking Sphinx returns all items when I query an empty string 
> (or a string which only has stop words). Is it possible to configure Thinking 
> Sphinx to return nothing in these cases? 
> 
> Thanks
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Thinking Sphinx" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  


-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to