thks.

2007/6/17, Yonik Seeley <[EMAIL PROTECTED]>:

On 6/16/07, James liu <[EMAIL PROTECTED]> wrote:
> i wanna show keyword: a and facet sid: 2
>
> my url:
>
http://localhost:8080/solr1/select?q=a+sid:2&start=0&rows=10&fl=*&wt=json
>
> but it show me count bigger than facetnum.

'+' in a URL is like a space, so your query is the same as
default_field:a OR sid:2
  instead of
default_field:a AND sid:2

This should work:
q=a+%2Bsid:2
or preferably use a filter query
q=a&fq=sid:2

-Yonik




--
regards
jl

Reply via email to