Riak python client and Solr
steve.garon at gmail.com
Mon Dec 14 09:35:37 EST 2015
The python client does not support any advance SOLR features like deep
search, facets, grouping, etc. Just use pythons 'requests' lib to query the
HTTP interface of Riak for all your search related queries.
On 14 December 2015 at 08:34, Joe Olson <technology at nododos.com> wrote:
> I am trying to use the Solr (*Yokozuna*) 'group' options with fulltext_search. I get expected results when I use the http interface, but not with python-riak-client fulltext pbc search.
> Here's what I'm trying to do:
> # This works fine
> curl "http://<IP ADDRESS>:8098/search/query/solrdefault?wt=json&q=id_s:myID&group=true&group.field=groupBy_s" | jsonpp
> # This does not work. 'group.field' not recognized as a valid param.
> result = client.fulltext_search('solrdefault', 'id_s:myID', group='on', group.field='groupBy_s')
> # Tried several variations on 'group.field' param...quoting, groupfield, field, etc
> # Also tried tracing through github to find appropriate param. Came up empty. Dead end @ transports/transport.py (function def search).
> Does anyone have 'group' working with Solr using the Python client??
> (This question has been asked on this mailing list before, but there is no documented resolution.)
> riak-users mailing list
> riak-users at lists.basho.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users