[wdmmg-dev] Quoting parameters and search phrase with spaces
friedrich.lindenberg at okfn.org
Sat Apr 2 09:57:41 BST 2011
I think the problem is on our end. First off, this works quite nicely:
Still, I think the issue is in our schema.xml where we index * as
textgen instead of string: this way things get tokenized and "Region
A" would become "region, a". We should likely change that since we
don't need textgen anyway (it is covered by the "text" field which
receives a copy of all index contents).
On Fri, Apr 1, 2011 at 6:19 PM, Carsten Senger <senger at rehfisch.de> wrote:
> 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 with a search phrase that is quoted with
> double quotes, but it failes if the double quotes are url encoded.
> A working url is:
> But SearchHandler.raw() urlencodes all parameters passed in and queries
> which does not match. Is there a way do such a query with solrpy?
> You received this message because you are subscribed to the Google Groups
> "solrpy" group.
> To post to this group, send email to solrpy at googlegroups.com.
> To unsubscribe from this group, send email to
> solrpy+unsubscribe at googlegroups.com.
> For more options, visit this group at
More information about the openspending-dev