-
-
Save telendt/b7fc043f06a69e5b6fd2277a06c786be to your computer and use it in GitHub Desktop.
Query rewrites
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OLD: filtered(function score (filtered(+(common:labrinth^100.0 | common:labrinth | genre_tags:labrinth | description:labrinth^0.05)~0.2 (title:labrinth^2.0 | permalink:labrinth^2.0 | user:labrinth^2.0 | title:labrinth^10.0 | permalink:labrinth^20.0 | user_name:labrinth^30.0)~0.1)->cache(BooleanFilter(-htc:DE -bcm:DE)),function=script[discorank], params [{gamma=0.05}]))->cache(org.elasticsearch.index.search.nested.NonNestedDocsFilter@fd4c9f9c) | |
NEW: function score (+(+((common:labrinth)^100.0 | common:labrinth | genre_tags:labrinth | (description:labrinth)^0.05)~0.2 ((title:labrinth)^2.0 | (permalink:labrinth)^2.0 | (user:labrinth)^2.0 | (title:labrinth)^10.0 | (permalink:labrinth)^20.0 | (user_name:labrinth)^30.0)~0.1) #(-htc:DE -bcm:DE +*:*),function=scriptScript{type=inline, lang='native', idOrCode='discorank', options={}, params={gamma=0.05}}) | |
OLD: filtered(function score (filtered(+(((+(common:never common:never trust) +(common:trust common:trust the) +common:the bitch +(common:bitch common:bitch hypogeo) +common:hypogeo)^100.0) | (((common:never common:never trust) (common:trust common:trust the) common:the bitch (common:bitch common:bitch hypogeo) common:hypogeo)~4) | genre_tags:never trust the bitch hypogeo | ((+(description:never description:never trust) +(description:trust description:trust the) +description:the bitch +(description:bitch description:bitch hypogeo) +description:hypogeo)^0.05))~0.2 ((((title:never title:never trust) (title:trust title:trust the) title:the bitch (title:bitch title:bitch hypogeo) title:hypogeo)~2^2.0) | (((permalink:never permalink:never trust) (permalink:trust permalink:trust the) permalink:the bitch (permalink:bitch permalink:bitch hypogeo) permalink:hypogeo)~2^2.0) | (((user:never user:never trust) (user:trust user:trust the) user:the bitch (user:bitch user:bitch hypogeo) user:hypogeo)~2^2.0) | ((+(title:never title:never trust) +(title:trust title:trust the) +title:the bitch +(title:bitch title:bitch hypogeo) +title:hypogeo)^10.0) | ((+(permalink:never permalink:never trust) +(permalink:trust permalink:trust the) +permalink:the bitch +(permalink:bitch permalink:bitch hypogeo) +permalink:hypogeo)^20.0) | ((+(user_name:never user_name:never trust) +(user_name:trust user_name:trust the) +user_name:the bitch +(user_name:bitch user_name:bitch hypogeo) +user_name:hypogeo)^30.0))~0.1)->cache(BooleanFilter(-htc:NL -bcm:NL)),function=script[discorank], params [{gamma=0.05}]))->cache(org.elasticsearch.index.search.nested.NonNestedDocsFilter@fd4c9f9c) | |
NEW: function score (+(+((Graph(+common:never +common:trust +common:the bitch +common:hypogeo, +common:never +common:trust the +common:bitch +common:hypogeo, +common:never +common:trust the +common:bitch hypogeo, +common:never trust +common:the bitch +common:hypogeo, hasBoolean=true, hasPhrase=false))^100.0 | Graph((common:never common:trust common:the bitch common:hypogeo)~3, (common:never common:trust the common:bitch common:hypogeo)~3, (common:never common:trust the common:bitch hypogeo)~2, (common:never trust common:the bitch common:hypogeo)~2, hasBoolean=true, hasPhrase=false) | genre_tags:never trust the bitch hypogeo | (Graph(+description:never +description:trust +description:the bitch +description:hypogeo, +description:never +description:trust the +description:bitch +description:hypogeo, +description:never +description:trust the +description:bitch hypogeo, +description:never trust +description:the bitch +description:hypogeo, hasBoolean=true, hasPhrase=false))^0.05)~0.2 ((Graph((title:never title:trust title:the bitch title:hypogeo)~2, (title:never title:trust the title:bitch title:hypogeo)~2, (title:never title:trust the title:bitch hypogeo)~1, (title:never trust title:the bitch title:hypogeo)~1, hasBoolean=true, hasPhrase=false))^2.0 | (Graph((permalink:never permalink:trust permalink:the bitch permalink:hypogeo)~2, (permalink:never permalink:trust the permalink:bitch permalink:hypogeo)~2, (permalink:never permalink:trust the permalink:bitch hypogeo)~1, (permalink:never trust permalink:the bitch permalink:hypogeo)~1, hasBoolean=true, hasPhrase=false))^2.0 | (Graph((user:never user:trust user:the bitch user:hypogeo)~2, (user:never user:trust the user:bitch user:hypogeo)~2, (user:never user:trust the user:bitch hypogeo)~1, (user:never trust user:the bitch user:hypogeo)~1, hasBoolean=true, hasPhrase=false))^2.0 | (Graph(+title:never +title:trust +title:the bitch +title:hypogeo, +title:never +title:trust the +title:bitch +title:hypogeo, +title:never +title:trust the +title:bitch hypogeo, +title:never trust +title:the bitch +title:hypogeo, hasBoolean=true, hasPhrase=false))^10.0 | (Graph(+permalink:never +permalink:trust +permalink:the bitch +permalink:hypogeo, +permalink:never +permalink:trust the +permalink:bitch +permalink:hypogeo, +permalink:never +permalink:trust the +permalink:bitch hypogeo, +permalink:never trust +permalink:the bitch +permalink:hypogeo, hasBoolean=true, hasPhrase=false))^20.0 | (Graph(+user_name:never +user_name:trust +user_name:the bitch +user_name:hypogeo, +user_name:never +user_name:trust the +user_name:bitch +user_name:hypogeo, +user_name:never +user_name:trust the +user_name:bitch hypogeo, +user_name:never trust +user_name:the bitch +user_name:hypogeo, hasBoolean=true, hasPhrase=false))^30.0)~0.1) #(-htc:NL -bcm:NL +*:*),function=scriptScript{type=inline, lang='native', idOrCode='discorank', options={}, params={gamma=0.05}}) | |
OLD: filtered(function score (filtered(+(((+(common:dondurma common:dondurma gibisin) +common:gibisin)^100.0) | (((common:dondurma common:dondurma gibisin) common:gibisin)~2) | genre_tags:dondurma gibisin | ((+(description:dondurma description:dondurma gibisin) +description:gibisin)^0.05))~0.2 ((((title:dondurma title:dondurma gibisin) title:gibisin)~1^2.0) | (((permalink:dondurma permalink:dondurma gibisin) permalink:gibisin)~1^2.0) | (((user:dondurma user:dondurma gibisin) user:gibisin)~1^2.0) | ((+(title:dondurma title:dondurma gibisin) +title:gibisin)^10.0) | ((+(permalink:dondurma permalink:dondurma gibisin) +permalink:gibisin)^20.0) | ((+(user_name:dondurma user_name:dondurma gibisin) +user_name:gibisin)^30.0))~0.1)->BooleanFilter(+cache(downloadable:T) +cache(BooleanFilter(-htc:TR -bcnm:TR))),function=script[discorank], params [{gamma=0.05}]))->cache(org.elasticsearch.index.search.nested.NonNestedDocsFilter@fd4c9f9c) | |
NEW: function score (+(+((Graph(+common:dondurma +common:gibisin, common:dondurma gibisin, hasBoolean=true, hasPhrase=false))^100.0 | Graph((common:dondurma common:gibisin)~2, common:dondurma gibisin, hasBoolean=true, hasPhrase=false) | genre_tags:dondurma gibisin | (Graph(+description:dondurma +description:gibisin, description:dondurma gibisin, hasBoolean=true, hasPhrase=false))^0.05)~0.2 ((Graph((title:dondurma title:gibisin)~1, title:dondurma gibisin, hasBoolean=true, hasPhrase=false))^2.0 | (Graph((permalink:dondurma permalink:gibisin)~1, permalink:dondurma gibisin, hasBoolean=true, hasPhrase=false))^2.0 | (Graph((user:dondurma user:gibisin)~1, user:dondurma gibisin, hasBoolean=true, hasPhrase=false))^2.0 | (Graph(+title:dondurma +title:gibisin, title:dondurma gibisin, hasBoolean=true, hasPhrase=false))^10.0 | (Graph(+permalink:dondurma +permalink:gibisin, permalink:dondurma gibisin, hasBoolean=true, hasPhrase=false))^20.0 | (Graph(+user_name:dondurma +user_name:gibisin, user_name:dondurma gibisin, hasBoolean=true, hasPhrase=false))^30.0)~0.1) #downloadable:T #(-htc:TR -bcnm:TR +*:*),function=scriptScript{type=inline, lang='native', idOrCode='discorank', options={}, params={gamma=0.05}}) | |
OLD: filtered(function score (filtered(+(((+(common:防弾 common:防弾 少年) +(common:少年 common:少年 団) +common:団)^100.0) | (((common:防弾 common:防弾 少年) (common:少年 common:少年 団) common:団)~2) | genre_tags:防弾少年団 | ((+(description:防弾 description:防弾 少年) +(description:少年 description:少年 団) +description:団)^0.05))~0.2 ((((title:防弾 title:防弾 少年) (title:少年 title:少年 団) title:団)~1^2.0) | (((permalink:防弾 permalink:防弾 少年) (permalink:少年 permalink:少年 団) permalink:団)~1^2.0) | (((user:防弾 user:防弾 少年) (user:少年 user:少年 団) user:団)~1^2.0) | ((+(title:防弾 title:防弾 少年) +(title:少年 title:少年 団) +title:団)^10.0) | ((+(permalink:防弾 permalink:防弾 少年) +(permalink:少年 permalink:少年 団) +permalink:団)^20.0) | ((+(user_name:防弾 user_name:防弾 少年) +(user_name:少年 user_name:少年 団) +user_name:団)^30.0))~0.1)->cache(BooleanFilter(-htc:JP -bcnm:JP)),function=script[discorank], params [{gamma=0.05}]))->cache(org.elasticsearch.index.search.nested.NonNestedDocsFilter@fd4c9f9c) | |
NEW: function score (+(+((Graph(+common:防弾 +common:少年 +common:団, +common:防弾 +common:少年 団, +common:防弾 少年 +common:団, hasBoolean=true, hasPhrase=false))^100.0 | Graph((common:防弾 common:少年 common:団)~2, (common:防弾 common:少年 団)~2, (common:防弾 少年 common:団)~2, hasBoolean=true, hasPhrase=false) | genre_tags:防弾少年団 | (Graph(+description:防弾 +description:少年 +description:団, +description:防弾 +description:少年 団, +description:防弾 少年 +description:団, hasBoolean=true, hasPhrase=false))^0.05)~0.2 ((Graph((title:防弾 title:少年 title:団)~1, (title:防弾 title:少年 団)~1, (title:防弾 少年 title:団)~1, hasBoolean=true, hasPhrase=false))^2.0 | (Graph((permalink:防弾 permalink:少年 permalink:団)~1, (permalink:防弾 permalink:少年 団)~1, (permalink:防弾 少年 permalink:団)~1, hasBoolean=true, hasPhrase=false))^2.0 | (Graph((user:防弾 user:少年 user:団)~1, (user:防弾 user:少年 団)~1, (user:防弾 少年 user:団)~1, hasBoolean=true, hasPhrase=false))^2.0 | (Graph(+title:防弾 +title:少年 +title:団, +title:防弾 +title:少年 団, +title:防弾 少年 +title:団, hasBoolean=true, hasPhrase=false))^10.0 | (Graph(+permalink:防弾 +permalink:少年 +permalink:団, +permalink:防弾 +permalink:少年 団, +permalink:防弾 少年 +permalink:団, hasBoolean=true, hasPhrase=false))^20.0 | (Graph(+user_name:防弾 +user_name:少年 +user_name:団, +user_name:防弾 +user_name:少年 団, +user_name:防弾 少年 +user_name:団, hasBoolean=true, hasPhrase=false))^30.0)~0.1) #(-htc:JP -bcnm:JP +*:*),function=scriptScript{type=inline, lang='native', idOrCode='discorank', options={}, params={gamma=0.05}}) | |
OLD: filtered(function score (ConstantScore(BooleanFilter(+cache(_type:sound) +cache(genre:wali))),function=script[discorank], params [{gamma=1}]))->cache(org.elasticsearch.index.search.nested.NonNestedDocsFilter@fd4c9f9c) | |
NEW: function score (ConstantScore(#(+_type:sound +genre:wali)),function=scriptScript{type=inline, lang='native', idOrCode='discorank', options={}, params={gamma=1}}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment