On Dec 7, 2007 11:34 AM, Steve Barr <[EMAIL PROTECTED]> wrote:
> I'm new to Solr and getting an unexpected result.  Basically I have a
> field "location" and one document with location values "Europe",
> "France", and "United States".  When I try to do a faceted query on
> the location field, "France" returns 0 results, but the other two
> locations are found.
[...]
> http://localhost:8080/solr/select?q=France&rows=0&facet=true&facet.limit=-1&facet.field=location

This is querying for "France" in the default search field (defined in
the schema).
If you want to show documents with only France in the location field,
change q to location:France
If you want the facets for all documents, try changing q to *:*

-Yonik

Reply via email to