How to specify dismax related parameters like qf

Ajax Done ajaxdone at gmail.com
Mon Oct 17 23:47:30 EDT 2016


Hi Alex,

I retry again and this time it works, here is the query string:
"{!type=edismax qf=’title_s content_s’}riak solr"

Thanks,
Ajax



> On Oct 17, 2016, at 10:55 AM, Alex Moore <amoore at basho.com> wrote:
> 
> Hey Ajax,
> 
> Have you tried adding those parameters to the LocalParameters {!dismax} block?
> 
> e.g.: {!type=dismax qf='myfield yourfield'}solr rocks
> 
> http://wiki.apache.org/solr/LocalParams#Basic_Syntax <http://wiki.apache.org/solr/LocalParams#Basic_Syntax>
> 
> Thanks,
> Alex
> 
> On Fri, Oct 14, 2016 at 3:18 PM, AJAX DoneBy Jack <ajaxdone at gmail.com <mailto:ajaxdone at gmail.com>> wrote:
> Hello Basho,
> 
> I am very new on Riak Search, I know can add {!dismax}before query string to use it, but don't know how to specify qf or other dismax related parameters in Riak Java Client. Could you advise?
> 
> Thanks,
> Ajax 
> 
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com <mailto:riak-users at lists.basho.com>
> http://lists.basho.com/mailman/listinfo/riak-users_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/20161017/ff814545/attachment-0002.html>


More information about the riak-users mailing list