Hi Lyes, There is currently no way to paginate from the command line. One workaround is to use curl to access the solr interface. ( http://wiki.basho.com/Riak-Search---Querying.html#Querying-via-the-Solr-Interface) Also, this has been mentioned before, but you should know that there is a bug that affects Riak Search pagination when used in combination with sorting: https://issues.basho.com/show_bug.cgi?id=867
There is no built in way to calculate snippets from search results. I'd recommend that you feed the search results into a Map/Reduce job and extract the snippet using a regular expression. Best, Rusty On Mon, Oct 24, 2011 at 9:03 AM, Lyes zaiko <lyes...@gmail.com> wrote: > By the way, how can we also compute snippets from search results?? > > On Thu, Oct 20, 2011 at 2:51 PM, Lyes zaiko <lyes...@gmail.com> wrote: > >> Hello! I need a little help. >> >> How can we obtain paginated search results by querying via the erlang >> command line (using search:search_doc/3)?? >> >> thank you! >> > > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > > -- Rusty Klophaus (@rustyio) *Basho Technologies, Inc.* www.basho.com
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com