Skip to content

Commit f8663d6

Browse files
committed
Upgrade to [org.querqy/querqy-core "3.14.0"]
1 parent 538cad8 commit f8663d6

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

project.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
:dependencies
2323
[[org.clojure/clojure "1.11.1"]
24-
[org.querqy/querqy-core "3.12.0"]]
24+
[org.querqy/querqy-core "3.14.0"]]
2525

2626
:repl-options {:init-ns com.nytimes.querqy}
2727

src/com/nytimes/querqy/commonrules.clj

+4-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
(querqy.parser QuerqyParser)
1515
(querqy.rewrite RewriterFactory)
1616
(querqy.rewrite.commonrules CommonRulesRewriter LineParser QuerqyParserFactory SimpleCommonRulesParser WhiteSpaceQuerqyParserFactory)
17-
(querqy.rewrite.commonrules.model BoostInstruction BoostInstruction$BoostDirection DeleteInstruction FilterInstruction Instructions SynonymInstruction TrieMapRulesCollectionBuilder)
17+
(querqy.rewrite.commonrules.model BoostInstruction BoostInstruction$BoostDirection BoostInstruction$BoostMethod DeleteInstruction FilterInstruction Instructions SynonymInstruction TrieMapRulesCollectionBuilder)
1818
(querqy.rewrite.commonrules.select SelectionStrategyFactory)
1919
(querqy.rewrite.commonrules.select.booleaninput BooleanInputParser)
2020
(querqy.rewrite.commonrules.select.booleaninput.model BooleanInputElement BooleanInputElement$Type BooleanInputLiteral)))
@@ -62,7 +62,8 @@
6262
^Reader stream
6363
^boolean boolean-input
6464
^QuerqyParserFactory parser
65-
^boolean ignore-case)]
65+
^boolean ignore-case
66+
BoostInstruction$BoostMethod/ADDITIVE)]
6667
(.parse rules-parser))))
6768

6869
(extend-protocol CommonRulesRewriterBuilder
@@ -135,6 +136,7 @@
135136
DOWN BoostInstruction$BoostDirection/DOWN]
136137
(BoostInstruction. (parse-query query)
137138
(if (>= boost 0) UP DOWN)
139+
BoostInstruction$BoostMethod/ADDITIVE
138140
(abs boost))))
139141

140142
(defn filter

src/com/nytimes/querqy/model.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@
228228
:or {boost-up []
229229
boost-down []
230230
filter []}}]
231-
(ExpandedQuery. query filter boost-up boost-down))
231+
(ExpandedQuery. query filter boost-up boost-down []))
232232

233233
(defn expanded?
234234
[obj]

0 commit comments

Comments
 (0)