Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Query with multiples values for a field must be composed with AND #5

Open
everton opened this Issue Jul 7, 2011 · 0 comments

Comments

Projects
None yet
1 participant

everton commented Jul 7, 2011

Hi,

I saw your gem and the level it works is so great, really a good solution to integrate with SOLR.

I was experimenting it on a project where I need to do something like this:

query: { NAME: ['John', 'Castro']}

The resulting query was:

q=NAME%3AJohn+NAME%3ACastro

I expect something like:

q=NAME%3AJohn+AND+NAME%3ACastro

The patch is very small, but do you think I'm expecting it wrong? (I'm not an solr expert)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment