144 public function addIndexEntry($sectionId, $elementId, $facetId, $value, $valueNum, $includeSubsections)
146 $connection = \Bitrix\Main\Application::getConnection();
159 ".intval($sectionId).
"
160 ,".intval($elementId).
"
161 ,".intval($facetId).
"
163 ,".doubleval($valueNum).
"
164 ,".($includeSubsections > 0? 1: 0).
"
192 public function queueIndexEntry($sectionId, $elementId, $facetId, $value, $valueNum, $includeSubsections)
194 $connection = \Bitrix\Main\Application::getConnection();
195 $sqlHelper = $connection->getSqlHelper();
198 .intval($sectionId).
","
199 .intval($elementId).
","
200 .intval($facetId).
","
202 .doubleval($valueNum).
","
203 .($includeSubsections > 0? 1: 0)
205 $this->insertBuffer[] = $values;
206 $this->insertLength += mb_strlen($values);
207 if ($this->insertLength > $this->insertMax)