too_many_results in riak-search

Dan Reverri dan at basho.com
Wed Mar 16 13:27:06 EDT 2011


Hi Jan,

Riak Search is designed for full text search and works very well for that
use case. The too_many_results limitation can difficult to handle if your
query results have more than the configured max_search_results. I've filed a
bug to investigate improving this behavior:
https://issues.basho.com/show_bug.cgi?id=1045

The too_many_results limitation is only imposed on queries issued through
the Solr interface. You can avoid this limitation by writing a MapReduce
query that uses a search query as its input. You can read more about using
search queries as MapReduce inputs here:
https://wiki.basho.com/Riak-Search---Querying.html#Querying-Integrated-with-Map-Reduce

Thanks,
Dan

Daniel Reverri
Developer Advocate
Basho Technologies, Inc.
dan at basho.com


2011/3/4 Jan Schütze <JanS at dracoblue.de>

> Hello,
>
> today I noticed that riak-search has a limit on 100.000 results for a
> query (this can be tuned/changed by using the configuration). I am
> only interested in 30 results, but understand that riak would have to
> crawl through all results to be sure that it has the 30 best ones.
>
> Since I want to use riak as key-value store on the one hand, but also
> want to use it to query the entire database: is riaksearch the right
> choice?
>
> Regards,
>  Jan
>
> --
>
>   http://dracoblue.net
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20110316/84d85bb6/attachment.html>


More information about the riak-users mailing list