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

Filter queries as multiple "fq" params #70

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Filter queries as multiple "fq" params #70

wants to merge 3 commits into from

Conversation

redapple
Copy link

Modifies Solr select/ queries to send multiple fq params

This can help caching efficiency

This is also mentioned in issue #37

Changes:

  • added multiple_tags_allowed to LuceneQuery initialization (name of this parameter can be changed of course)
  • set this new parameter to True only for BaseSearch's filter_obj
  • use lists for level 0 of option serialization
  • added doseq=True to urllib.urlencode()

I only modified LuceneQuery for "fq". Could other query params be used in a similar way?

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

Successfully merging this pull request may close these issues.

None yet

1 participant