...XS_CMD_SORT_TYPE_VALUE; if ($relevance_first) { $type |= XS_CMD_SORT_FLAG_RELEVANCE; } if ($asc) { $type |= XS_CMD_SORT_FLAG_ASCENDING; } $vno = $this->xs->getField($field, true)->vno; $cmd = new XSCommand(XS_CMD_SEARCH_SET_SORT, $type,...
...XS_CMD_SORT_TYPE_MULTI; if ($relevance_first) { $type |= XS_CMD_SORT_FLAG_RELEVANCE; } if (!$reverse) { $type |= XS_CMD_SORT_FLAG_ASCENDING; } $cmd = new XSCommand(XS_CMD_SEARCH_SET_SORT, $type, 0, $buf); $this->execCommand($cmd); } ...
...XS_CMD_SORT_TYPE_MULTI; if ($relevance_first) { $type |= XS_CMD_SORT_FLAG_RELEVANCE; } if (!$reverse) { $type |= XS_CMD_SORT_FLAG_ASCENDING; } $cmd = new XSCommand(XS_CMD_SEARCH_SET_SORT, $type, 0, $buf); $this->execCommand($cmd); } ...