On Mon, Sep 13, 2010 at 3:27 PM, Xavier Noria <f...@hashref.com> wrote:
> Let's suppose we have a regular search field body_t, and an internal
> boolean flag flag_t not exposed to the user.
>
> I'd like
>
>    body_t:foo AND flag_t:true

this is solr right? why don't you use filterquery for you unexposed
flat_t field q=boty_t:foo&fq=flag_t:true
this might help too: http://wiki.apache.org/solr/CommonQueryParameters#fq

simon
>
> to be an intersection, but if "foo" is a stopword I get all documents
> for which flag_t is true, as if the first class was dropped, or if
> technically all documents match an empty string.
>
> Is there a way to get 0 results instead?
>

Reply via email to