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.


Steve

On 14 December 2015 at 08:34, Joe Olson <technol...@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@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to