Are you querying both systems from the same browser / client?
Try adding debugQuery=true and see of the query parses the same for
both (could be the browser/client doing extra escaping or something).

-Yonik
http://www.lucidimagination.com



On Thu, Dec 3, 2009 at 10:14 AM, Joel Nylund <jnyl...@yahoo.com> wrote:
> I have 2 environments one works great for this query:
>
> my osx environment:
>
> http://localhost:8983/solr/select?q=countryName:%22Bosnia%20and%20Herzegovina%22
>  - returns 2 results
>
> my linux environment:
>
> http://localhost:8983/solr/select?q=countryName:%22Bosnia%20and%20Herzegovina%22
>  - returns 0 results
>
>
> same configs, same index etc, both using solr 1.4, in linux env if I run
> this query:
>
> /solr/select?q=id:96465437
>
> <response>
> -
> <lst name="responseHeader">
> <int name="status">0</int>
> <int name="QTime">1</int>
> -
> <lst name="params">
> <str name="q">id:96465437</str>
> </lst>
> </lst>
> -
> <result name="response" numFound="1" start="0">
> -
> <doc>
> ...
> <str name="countryName">Bosnia and Herzegovina</str>
> ....
> </doc>
> </result>
> </response>
>
> So the records are in the index.....
>
> I checked the admin, they are indexed using the same type (text), and I
> cannot see any differences.
>
> any idea why it works on one env and not the other? anything I can check in
> admin to get to the bottom of this?
>
> thanks
> Joel
>
>

Reply via email to