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

Multiple facet.query #35

Closed
KooT opened this issue Dec 5, 2011 · 1 comment
Closed

Multiple facet.query #35

KooT opened this issue Dec 5, 2011 · 1 comment

Comments

@KooT
Copy link

KooT commented Dec 5, 2011

When i want to send request about multiple facet.query like:

solr/select/?q=:&facet=true&facet.query=ONE_FACET&facet.query=TWO_FACET&facet.query=ANOTHER_FACET&facet.field=USR&rows=0&start=0&facet.mincount=1000

I cant do this with thils lib bacause i cant add to params two 'facet.query' key. And 'facet.query': 'ONE_FACET&facet.query=TWO_FACET' is not working of courese, because urllib.urlencode changes all '&'

@KooT KooT closed this as completed Dec 5, 2011
@KooT
Copy link
Author

KooT commented Dec 5, 2011

        args = {'facet':'true', 
                'facet.query':[ONE_FACET', 'TWO_FACET'],
                'start': 0, 'rows': 0
                }

This one is working fine, mea culpa :)

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