On 6/11/07, Otis Gospodnetic <[EMAIL PROTECTED]> wrote:
Hi,
I'm trying to use 'fq' param (see
http://wiki.apache.org/solr/CommonQueryParameters ) with the standard request
handler, using a field that is defined as an integer (values 1 or 0), is
indexed, and is stored. For some reason, these two return no hits, even though
I do have MyIntField with values 0 and 1 in the index:
http://localhost:8080/solr/select?q=birds&fq=MyIntField:0
http://localhost:8080/solr/select?q=birds&fq=MyIntField:1
So I tried these, just to see if that makes any difference:
http://localhost:8080/solr/select?q=birds%20AND%20MyIntField:0
http://localhost:8080/solr/select?q=birds%20AND%20MyIntField:1
http://localhost:8080/solr/select?q=birds%20AND%20MyIntField:[* TO *]
No go - no hits. Am I doing something obviously wrong? I'm using a Solr
nightly from maybe a month ago. I don't recall seeing any bugs with the 'fq'
param.
Further out in left field, perhaps a type mismatch with MyIntField?
Did you index the data with Solr as well?
Perhaps try faceting on MyIntField to see what the indexed values are...
-Yonik