Vb question: related to Sphinx

Discussion in 'vBulletin' started by Ed330, Oct 3, 2013.

  1. #1
    I attempted to change "Maximum Search Results to Return" from the old limit of 150 to a new limit of 180 through VB admin panel. However, when a user runs a search, the following error returns:

    searchd error: per-query max_matches=180 out of bounds (per-server max_matches=150)

    I set this limit through the VB admin panel before we installed the sphinx add on. So I suspect I have to update this limit directly somewhere in Sphinx? If so, which line will that be?

    Thank you!
     
    Ed330, Oct 3, 2013 IP
  2. dedimonster.com

    dedimonster.com Member

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    31
    #2
    $cl->SetLimits(0,100,100);

    Look out for this line.

    Function Prototype: function SetLimits ( $offset, $limit, $max_matches=0, $cutoff=0 )

    Also check for 'max_matches' variable, - in your sphinx.conf file
     
    dedimonster.com, Dec 15, 2013 IP