/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/clucene/src/CLucene/search/ |
H A D | TermQuery.cpp | 46 return Similarity::floatToByte(getBoost()) ^ term->hashCode(); in hashCode() 68 if (getBoost() != 1.0f) { in toString() 70 buffer.appendFloat( getBoost(),1 ); in toString() 81 return (this->getBoost() == tq->getBoost()) in equals() 108 queryWeight = idf * _this->getBoost(); // compute query weight in sumOfSquaredWeights() 150 Explanation* boostExpl = _CLNEW Explanation(_this->getBoost(), _T("boost")); in explain() 151 if (_this->getBoost() != 1.0f) in explain() 161 queryExpl->setValue(_this->getBoost()* // always 1.0 in explain()
|
H A D | BooleanQuery.cpp | 48 ret = ret ^ Similarity::floatToByte(getBoost()); in hashCode() 96 if (getBoost() != 1.0) { in toString() 123 if (getBoost() != 1.0) { in toString() 125 buffer.appendFloat(getBoost(),1); in toString() 160 if (getBoost() != 1.0f) { // incorporate boost in rewrite() 161 query->setBoost(getBoost() * query->getBoost()); in rewrite() 199 bool ret = (this->getBoost() == other->getBoost()); in equals() 207 qreal BooleanQuery::BooleanWeight::getValue() { return parentQuery->getBoost(); } in getValue() 236 sum *= parentQuery->getBoost() * parentQuery->getBoost(); // boost each sub-weight in sumOfSquaredWeights() 241 norm *= parentQuery->getBoost(); // incorporate boost in normalize()
|
H A D | RangeQuery.cpp | 71 return Similarity::floatToByte(getBoost()) ^ in hashCode() 93 bool ret = (this->getBoost() == rq->getBoost()) in equals() 133 tq->setBoost(getBoost()); // set the boost in rewrite() 170 if (getBoost() != 1.0f) in toString() 173 buffer.appendFloat( getBoost(),1 ); in toString()
|
H A D | PrefixQuery.cpp | 51 return Similarity::floatToByte(getBoost()) ^ prefix->hashCode(); in hashCode() 74 bool ret = (this->getBoost() == rq->getBoost()) in equals() 112 tq->setBoost(getBoost()); // set the boost in rewrite() 167 if (getBoost() != 1.0f) { in toString() 171 buffer.appendFloat( getBoost(),1); in toString()
|
/dports/www/tikiwiki/tiki-21.2/vendor_bundled/vendor/zendframework/zendsearch/library/ZendSearch/Lucene/Search/Query/ |
H A D | Boolean.php | 129 $query->setBoost($this->getBoost()); 219 if ($this->getBoost() == 1) { 224 $optimizedQuery->setBoost($optimizedQuery->getBoost()*$this->getBoost()); 232 $optimizedQuery->setBoost($this->getBoost()); 244 $boostFactors[] = $subquery->getBoost(); 285 $boostFactors[] = $subquery->getBoost(); 324 $boostFactors[] = $subquery->getBoost(); 417 $optimizedQuery->setBoost($this->getBoost()); 609 return $score * $this->_coord * $this->getBoost(); 785 if ($this->getBoost() != 1) { [all …]
|
H A D | Term.php | 71 $query->setBoost($this->getBoost()); 153 $this->getBoost(); 205 if ($this->getBoost() != 1) { 206 $query = $query . '^' . round($this->getBoost(), 4);
|
/dports/textproc/luceneplusplus/LucenePlusPlus-rel_3.0.8/src/core/search/ |
H A D | ConstantScoreQuery.cpp | 42 …n L"ConstantScore(" + filter->toString() + (getBoost() == 1.0 ? L")" : L"^" + StringUtils::toStrin… in toString() 55 …return (this->getBoost() == otherConstantScoreQuery->getBoost() && this->filter->equals(otherConst… in equals() 60 return filter->hashCode() + MiscUtils::doubleToIntBits(getBoost()); in hashCode() 89 queryWeight = constantScorer->getBoost(); in sumOfSquaredWeights() 112 result->addDetail(newLucene<Explanation>(constantScorer->getBoost(), L"boost")); in explain()
|
H A D | FilteredQuery.cpp | 69 return query->hashCode() ^ filter->hashCode() + MiscUtils::doubleToIntBits(getBoost()); in hashCode() 95 return weight->sumOfSquaredWeights() * query->getBoost() * query->getBoost(); in sumOfSquaredWeights() 100 value = weight->getValue() * query->getBoost(); in normalize() 105 if (query->getBoost() !=1) { in explain() 107 inner = newLucene<Explanation>(inner->getValue() * query->getBoost(), L"product of:"); in explain() 108 inner->addDetail(newLucene<Explanation>(query->getBoost(), L"boost")); in explain() 186 return weight->query->getBoost() * scorer->score(); in score()
|
H A D | DisjunctionMaxQuery.cpp | 59 if (getBoost() != 1.0) { in rewrite() 63 result->setBoost(getBoost() * result->getBoost()); in rewrite() 111 if (getBoost() != 1.0) { in toString() 112 buffer += L"^" + StringUtils::toString(getBoost()); in toString() 131 …return MiscUtils::doubleToIntBits(getBoost()) + MiscUtils::doubleToIntBits(tieBreakerMultiplier) +… in hashCode() 151 return query->getBoost(); in getValue() 162 double boost = query->getBoost(); in sumOfSquaredWeights() 167 norm *= query->getBoost(); // Incorporate our boost in normalize()
|
H A D | BooleanQuery.cpp | 93 if (getBoost() != 1.0) { // incorporate boost in rewrite() 97 query->setBoost(getBoost() * query->getBoost()); in rewrite() 140 bool needParens = (getBoost() != 1.0 || getMinimumNumberShouldMatch() > 0); in toString() 179 if (getBoost() != 1.0) { in toString() 191 return (getBoost() == otherQuery->getBoost() && in equals() 198 …return MiscUtils::doubleToIntBits(getBoost()) ^ MiscUtils::hashCode(clauses.begin(), clauses.end()… in hashCode() 219 return query->getBoost(); in getValue() 233 sum *= query->getBoost() * query->getBoost(); // boost each sub-weight in sumOfSquaredWeights() 239 norm *= query->getBoost(); // incorporate boost in normalize()
|
H A D | MultiTermQuery.cpp | 102 result = prime * result + MiscUtils::doubleToIntBits(getBoost()); in hashCode() 122 …if (MiscUtils::doubleToIntBits(getBoost()) != MiscUtils::doubleToIntBits(otherMultiTermQuery->getB… in equals() 139 result->setBoost(query->getBoost()); in rewrite() 156 tq->setBoost(query->getBoost() * enumerator->difference()); // set the boost in rewrite() 176 result->setBoost(query->getBoost()); in rewrite() 235 result->setBoost(query->getBoost()); in rewrite() 247 result->setBoost(query->getBoost()); in rewrite()
|
H A D | TermQuery.cpp | 59 return (getBoost() == otherTermQuery->getBoost() && term->equals(otherTermQuery->term)); in equals() 63 return MiscUtils::doubleToIntBits(getBoost()) ^ term->hashCode(); in hashCode() 101 queryWeight = idf * getQuery()->getBoost(); // compute query weight in sumOfSquaredWeights() 126 ExplanationPtr boostExpl(newLucene<Explanation>(query->getBoost(), L"boost")); in explain() 127 if (query->getBoost() != 1.0) { in explain()
|
/dports/textproc/clucene/clucene-core-2.3.3.4/src/core/CLucene/search/ |
H A D | ConstantScoreQuery.cpp | 95 queryWeight = parentQuery->getBoost(); in sumOfSquaredWeights() 128 result->addDetail(_CLNEW Explanation(parentQuery->getBoost(), _T("boost"))); in explain() 183 buf.appendBoost(getBoost()); in toString() 193 return this->getBoost()==other->getBoost() in equals() 257 q->setBoost(getBoost()); in rewrite() 274 buffer.appendBoost(getBoost()); in toString() 289 return this->getBoost() == other->getBoost(); in equals() 295 int32_t h = Similarity::floatToByte( getBoost() ) ^ Misc::thashCode( fieldName ); in hashCode()
|
H A D | MatchAllDocsQuery.cpp | 133 queryWeight = parentQuery->getBoost(); in sumOfSquaredWeights() 149 if (parentQuery->getBoost() != 1.0f) { in explain() 150 queryExpl->addDetail(_CLNEW Explanation(parentQuery->getBoost(),_T("boost"))); in explain() 173 buffer.appendBoost(getBoost()); in toString() 194 return this->getBoost() == other->getBoost(); in equals() 198 return (static_cast<size_t>(getBoost())) ^ 0x1AA71190; in hashCode()
|
H A D | TermQuery.cpp | 79 return Similarity::floatToByte(getBoost()) ^ term->hashCode(); in hashCode() 98 if (getBoost() != 1.0f) { in toString() 100 buffer.appendFloat( getBoost(),1 ); in toString() 110 return (this->getBoost() == tq->getBoost()) in equals() 133 queryWeight = idf * parentQuery->getBoost(); // compute query weight in sumOfSquaredWeights() 177 Explanation* boostExpl = _CLNEW Explanation(parentQuery->getBoost(), _T("boost")); in explain() 178 if (parentQuery->getBoost() != 1.0f) in explain() 188 …queryExpl->setValue(parentQuery->getBoost()* // always 1.0 | TODO: original Java code is boostExpl… in explain()
|
H A D | RangeQuery.cpp | 72 return Similarity::floatToByte(getBoost()) ^ in hashCode() 94 bool ret = (this->getBoost() == rq->getBoost()) in equals() 127 tq->setBoost(getBoost()); // set the boost in rewrite() 163 if (getBoost() != 1.0f) in toString() 166 buffer.appendFloat( getBoost(),1 ); in toString()
|
H A D | BooleanQuery.cpp | 94 ret = ret ^ Similarity::floatToByte(getBoost()); in hashCode() 182 bool needParens=(getBoost() != 1.0) /* TODO: || (getMinimumNumberShouldMatch()>0)*/ ; in toString() 215 if (getBoost() != 1.0) { in toString() 217 buffer.appendFloat(getBoost(),1); in toString() 251 if (getBoost() != 1.0f) { // incorporate boost in rewrite() 252 query->setBoost(getBoost() * query->getBoost()); in rewrite() 295 bool ret = (this->getBoost() == other->getBoost()); in equals() 304 float_t BooleanWeight::getValue() { return parentQuery->getBoost(); } in getValue() 332 sum *= parentQuery->getBoost() * parentQuery->getBoost(); // boost each sub-weight in sumOfSquaredWeights() 337 norm *= parentQuery->getBoost(); // incorporate boost in normalize()
|
/dports/www/tikiwiki/tiki-21.2/vendor_bundled/vendor/zendframework/zendsearch/library/ZendSearch/Lucene/Search/Weight/ |
H A D | Boolean.php | 78 return $this->_query->getBoost(); 96 $sum *= $this->_query->getBoost() * $this->_query->getBoost(); 114 $queryNorm *= $this->_query->getBoost();
|
H A D | MultiTerm.php | 79 return $this->_query->getBoost(); 97 $sum *= $this->_query->getBoost() * $this->_query->getBoost(); 115 $queryNorm *= $this->_query->getBoost();
|
/dports/www/tikiwiki/tiki-21.2/vendor_bundled/vendor/zendframework/zendsearch/library/ZendSearch/Lucene/Search/Query/Preprocessing/ |
H A D | Term.php | 79 $query->setBoost($this->getBoost()); 122 $query->setBoost($this->getBoost()); 173 $query->setBoost($this->getBoost()); 195 $query->setBoost($this->getBoost()); 213 $query->setBoost($this->getBoost()); 316 if ($this->getBoost() != 1) { 317 $query .= '^' . round($this->getBoost(), 4);
|
H A D | Phrase.php | 126 $query->setBoost($this->getBoost()); 152 $query->setBoost($this->getBoost()); 170 $query->setBoost($this->getBoost()); 244 if ($this->getBoost() != 1) { 245 $query .= '^' . round($this->getBoost(), 4);
|
H A D | Fuzzy.php | 135 $query->setBoost($this->getBoost()); 147 $query->setBoost($this->getBoost()); 188 $query->setBoost($this->getBoost()); 268 if ($this->getBoost() != 1) { 269 $query .= '^' . round($this->getBoost(), 4);
|
/dports/textproc/clucene/clucene-core-2.3.3.4/src/core/CLucene/search/spans/ |
H A D | SpanTermQuery.cpp | 51 return Similarity::floatToByte(getBoost()) ^ term->hashCode() ^ 0xD23FE494; in hashCode() 88 buffer.appendBoost( getBoost() ); in toString() 100 return ( this->getBoost() == that->getBoost() ) in equals()
|
/dports/textproc/luceneplusplus/LucenePlusPlus-rel_3.0.8/src/core/search/function/ |
H A D | ValueSourceQuery.cpp | 48 return (getBoost() == otherQuery->getBoost() && valSrc->equals(otherQuery->valSrc)); in equals() 52 …(ValueSourceQuery::_getClassName()) + valSrc->hashCode()) ^ MiscUtils::doubleToIntBits(getBoost()); in hashCode() 79 queryWeight = query->getBoost(); in sumOfSquaredWeights() 99 result->addDetail(newLucene<Explanation>(query->getBoost(), L"boost")); in explain()
|
/dports/textproc/luceneplusplus/LucenePlusPlus-rel_3.0.8/src/test/search/ |
H A D | WildcardTest.cpp | 85 EXPECT_EQ(q->getBoost(), wq->getBoost()); in TEST_F() 91 EXPECT_EQ(q->getBoost(), wq->getBoost()); in TEST_F() 97 EXPECT_EQ(q->getBoost(), wq->getBoost()); in TEST_F() 103 EXPECT_EQ(q->getBoost(), wq->getBoost()); in TEST_F() 131 expected->setBoost(wq->getBoost()); in TEST_F() 137 expected->setBoost(wq->getBoost()); in TEST_F() 143 expected->setBoost(wq->getBoost()); in TEST_F() 149 expected->setBoost(wq->getBoost()); in TEST_F()
|