Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support queries for phrases #26

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 1 comment
Open

Support queries for phrases #26

GoogleCodeExporter opened this issue Mar 13, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

I have a query where I want to limit the result based on the value of a 
solr.StrField. This is not tokenized and the value can contain spaces, like 
"Region A". I can query this if the phrase is quoted with double quotes, but it 
failes if the double quotes are urlencoded.

A working url is:

 fq=%2Bregion%3A"Region+A"

If I call 

raw_query(..., fq=['+region:"Region A"'])

SearchHandler.raw() urlencodes all parameters passed in and queries with:

 fq=%2Bregion%3A%22Region+A%22

which does not match anymore.

Thread on the mailinglist:
http://groups.google.com/group/solrpy/browse_frm/thread/8c38110e8560361b

Original issue reported on code.google.com by sen...@rehfisch.de on 2 Apr 2011 at 8:13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant