We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32004
    • 24 Posts
    Hi

    i have some problems with ajaxsearch and the search result. shocked
    Search results should still be sorted by relevance? Thats standart or not?

    I have some Documents.

    carpenter’s shop Max, 8590 Romanshorn
    carpenter’s shop Franz, 7680 Amriswil
    carpenter’s shop Sanders, 4080 Basel

    Declaration: Name of the carpenter, code (PLZ) and the City

    If i search for Carpenter Amriswil Ajax Search show me:
    #1 carpenter’s shop Max, Romanshorn
    #2 carpenter’s shop Franz, Amriswil
    #3 carpenter’s shop Sanders, Basel

    First result -> carpenter’s shop Max, Romanshorn, not the carpenter in Amriswil. Why is "amriswil" not #1?
    Carpenter and Amriswil is only in the document #2, Carpenter without a city in document #1

    If i search for Carpenter 4080 Ajax Search show me:
    #1 carpenter’s shop Max, Romanshorn
    #2 carpenter’s shop Franz, Amriswil
    #3 carpenter’s shop Sanders, Basel

    The same search result. If i search for carpenter max, thats works...

    &order=`` is not the right solution. So i try with &rank=`` but the same problem...

    Somewhere can help me?

    Ajax Search Version: 1.9.0

    [!AjaxSearch?
    &ajaxSearch=`0`
    &grabMax=`5`
    &landingPage=`5`
    &tplInput=`tplSuchformular`
    &minChars=`2`
    &highlightResult=`0`
    &showIntro=`0`
    &showResults=`0`
    &parents=`71`
    !]
      • 5811
      • 1,717 Posts
      Have you looked at this demo page ? May be you can found some explanations.
        • 32004
        • 24 Posts
        Hi

        yes i have see and try it. But does not work the way I want it.

        If it possible to including TV in the &ranks=`` ?

        Example i have a TV [+City+], like this: &ranks=`tv:city:100,content:15`
          • 5811
          • 1,717 Posts
          If it possible to including TV in the &ranks=`` ?
          Yes, but your TV should be used with &withTvs.

          I set up a new demo "Ranking based on Tvs" as example. Look at this demo page.

          In your case as example, &withTvs=`city` &rank=`city:100,pagetitle:10,content`

          Keep care, use &rank not &ranks (not plural)
            • 32004
            • 24 Posts
            Yes, thats works. Thank you very much...