Skip to content

Filter queries as multiple "fq" params#70

Open
redapple wants to merge 3 commits intotow:masterfrom
redapple:multiplefq
Open

Filter queries as multiple "fq" params#70
redapple wants to merge 3 commits intotow:masterfrom
redapple:multiplefq

Conversation

@redapple
Copy link
Copy Markdown

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.

1 participant