We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
IMHO, the <connection> should be placed outside of <settings>in https://github.com/4teamwork/ftw.solr/blob/master/ftw/solr/profiles/default/solr.xml#L4
<connection>
<settings>
Here's a config I have exported from a recent project:
<?xml version="1.0"?> <object name="solr"> <connection> <active value="True"/> <host value="127.0.0.1"/> <port value="8983"/> <base value="/solr"/> </connection> <settings> <async value="False"/> <auto-commit value="True"/> <commit-within value="10000"/> <index-timeout value="0.0"/> <search-timeout value="0.0"/> <max-results value="10000000"/> <required-query-parameters> <parameter name="SearchableText"/> <parameter name="qt"/> </required-query-parameters> <search-pattern value="+(Title:{value}^100 OR Description:{value}^20 OR SearchableText:{value}^10 OR SearchableText:{value_lwc} OR SearchableText:{value_twc} OR searchwords:{value}^10000) +showinsearch:True OR path_parents:/bern.ch/platform/themen/^500"/> <search-facets> <parameter name="portal_type"/> <parameter name="review_state"/> <parameter name="site_area"/> </search-facets> <filter-query-parameters> <parameter name="portal_type"/> </filter-query-parameters> <slow-query-threshold value="0"/> <effective-steps value="1"/> <exclude-user value="False"/> <highlight_fields/> <highlight_formatter_pre value="["/> <highlight_formatter_post value="]"/> <highlight_fragsize value="100"/> <field-list/> <levenshtein_distance value="0.0"/> <atomic_updates value="True"/> </settings> </object>
The text was updated successfully, but these errors were encountered:
What do you think, @lukasgraf or @maethu?
Sorry, something went wrong.
@mbaechtold I agree, that's also how the original config in collective.solr is structured.
collective.solr
However, because getElementsByTagName() works recursively, the parsing of the XML config in collective.solr probably still works I would assume.
getElementsByTagName()
No branches or pull requests
IMHO, the
<connection>
should be placed outside of<settings>
in https://github.com/4teamwork/ftw.solr/blob/master/ftw/solr/profiles/default/solr.xml#L4Here's a config I have exported from a recent project:
The text was updated successfully, but these errors were encountered: