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
It seems that the query processing of ftw.solr or collective.solr modifies the query inplace. The query is afterwards broken.
Example:
>>> query = {'path': {'query': '/', 'limit': -1}, 'SearchableText': 'test*'} >>> len(portal_catalog(query)) 0 >>> len(portal_catalog(query)) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/zope/cache/eggs/collective.indexing-2.0b1-py2.7.egg/collective/indexing/monkey.py", line 84, in searchResults return self.__af_old_searchResults(REQUEST, **kw) File "/home/zope/cache/eggs/collective.solr-3.0-py2.7.egg/collective/solr/monkey.py", line 31, in searchResults return adapter(REQUEST, **kw) File "/home/zope/cache/eggs/collective.solr-3.0-py2.7.egg/collective/solr/dispatcher.py", line 42, in __call__ return solrSearchResults(request, **keywords) File "/home/zope/cache/eggs/collective.solr-3.0-py2.7.egg/collective/solr/dispatcher.py", line 86, in solrSearchResults mangleQuery(args, config, schema) File "/home/zope/cache/eggs/ftw.solr-1.3.1-py2.7.egg/ftw/solr/patches/mangler.py", line 76, in mangleQuery keywords[key] = value['query'] KeyError: 'query' >>> query {'path': {'limit': -1}, 'SearchableText': 'test*'}
versions:
The text was updated successfully, but these errors were encountered:
Fixed in collective/collective.solr@aebec42e
Sorry, something went wrong.
@jone, is this still an issue?
No branches or pull requests
It seems that the query processing of ftw.solr or collective.solr modifies the query inplace.
The query is afterwards broken.
Example:
versions:
The text was updated successfully, but these errors were encountered: