Jahia in English > How to set custom...

0 (0 Good)
0 (0 Bad)

How to set custom params for jahia search ?

by  thbaymet »  2016/04/21 08:19

Hi,

When I use jahia search tag libs in order to create search forms and then get results with s:results, there are so many parameters passed through URL. But I don't really need all of them and I would like to pass only needed parameters. (ex: mysite.comq=text). At the same way, I don't want to create all from scratch and I would like to use search tags developped by jahia team. I would like to know if there is any way to customize or override search tags ? As an example, is there any way to specify "search query" by myself ?

(jcrMethodToCall=get&src_originSiteKey=testsearchmodule&src_terms%5B0%5D.term=simple&src_terms%5B0%5D.applyFilter=true&src_terms%5B0%5D.match=all_words)

I don't want to have "src_terms[0].term" but just "q". Is it possible ? Thanks much.

  • How to set custom params for jahia search ?
    2016/04/21 08:19

    thbaymet <p>Hi,</p> <p>When I use jahia search tag libs in order to create search forms and then get results with s:results, there are so many parameters passed through URL. But I don&#39;t really need all of them and I would like to pass only needed parameters. (ex: mysite.comq=text). At the same way, I don&#39;t want to create all from scratch and I would like to use search tags developped by jahia team. I would like to know if there is any way to customize or override search tags ? As an example, is there any way to specify &quot;search query&quot; by myself ?</p> <p>(jcrMethodToCall=get&amp;src_originSiteKey=testsearchmodule&amp;src_terms%5B0%5D.term=simple&amp;src_terms%5B0%5D.applyFilter=true&amp;src_terms%5B0%5D.match=all_words)</p> <p>I don&#39;t want to have &quot;src_terms[0].term&quot; but just &quot;q&quot;. Is it possible ? Thanks much.</p>

  • Number of messages  19
    Registration date Apr 21, 2016
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page