Solr Dismax using % in mm parameter give errorSolr vs. ElasticSearchSimilarity search using Solr's NGramFilterFactorySolr query with repeating parameterSolr i get results with dismax but not with edismaxSolr - mm paramter of dismax parserSolr edismax parser and multiple fields searchSolr Dismax qp - How to use mm with TF/IDF rankingSolr Dismax and Edismax request gives different results for the same queryDismax solr query parser working very poorlySolr edismax not using Logical Operators AND/OR

Avoiding Implicit Conversion in Constructor. Explicit keyword doesn't help here

What is a Mono Word™?

How to remove rebar passing through an inaccessible pipe

Introduction to the Sicilian

How to innovate in OR

What do the novel titles of The Expanse series refer to?

Academic progression in Germany, what happens after a postdoc? What is the next step?

How and when is the best time to reveal to new hires you are trans?

Why does Latex make a small adjustment when I change section color

How do discovery writers hibernate?

Scam? Checks via Email

Applying for mortgage when living together but only one will be on the mortgage

Would people understand me speaking German all over Europe?

What would the United Kingdom's "optimal" Brexit deal look like?

How can you tell the version of Ubuntu on a system in a .sh (bash) script?

May a hotel provide accommodation for fewer people than booked?

How to prevent a single-element caster from being useless against immune foes?

Value of a limit.

How to structure presentation to avoid getting questions that will be answered later in the presentation?

Should 2FA be enabled on service accounts?

Reducing the time for rolling hash

Why is Searing Smite not listed in the Roll20 Spell books?

Why isn't LOX/UDMH used in staged combustion rockets now-a-days?

Help me, I hate squares!



Solr Dismax using % in mm parameter give error


Solr vs. ElasticSearchSimilarity search using Solr's NGramFilterFactorySolr query with repeating parameterSolr i get results with dismax but not with edismaxSolr - mm paramter of dismax parserSolr edismax parser and multiple fields searchSolr Dismax qp - How to use mm with TF/IDF rankingSolr Dismax and Edismax request gives different results for the same queryDismax solr query parser working very poorlySolr edismax not using Logical Operators AND/OR






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I am trying to use the mm (Minimum Should Match) parameter with the dismax parser. If I do just mm=2 or any other int value it seems to work fine. But if I try and add a percent as shown in the able, say mm=60%, then I get an "invalid digit" error for the query. How do I actually use the percentage for mm?



Solr ref guide mm table



(running solr 7.6 btw)










share|improve this question
























  • Do you have an example of your actual query string? Make sure you've escaped '%' properly, as it's the beginning of an URL parameter escape code as well, which means that your query could end up sending a random character instead of what you think it's sending.

    – MatsLindh
    Mar 26 at 22:21












  • How do you escape it? I tried % as I know escapes characters in a lot of programming languages but this is different I guess as that didn't help.

    – Caesium
    Mar 26 at 22:32











  • %25 is the escape code for %. A quick way to find out is to open your browser's developer tools (F12 for Chrome on Windows), go to "Console" and type encodeURIComponent('%'). It'll return the encoded version of whatever you gave it.

    – MatsLindh
    Mar 27 at 7:45











  • Cool. Thanks for the help!

    – Caesium
    Mar 27 at 18:11

















0















I am trying to use the mm (Minimum Should Match) parameter with the dismax parser. If I do just mm=2 or any other int value it seems to work fine. But if I try and add a percent as shown in the able, say mm=60%, then I get an "invalid digit" error for the query. How do I actually use the percentage for mm?



Solr ref guide mm table



(running solr 7.6 btw)










share|improve this question
























  • Do you have an example of your actual query string? Make sure you've escaped '%' properly, as it's the beginning of an URL parameter escape code as well, which means that your query could end up sending a random character instead of what you think it's sending.

    – MatsLindh
    Mar 26 at 22:21












  • How do you escape it? I tried % as I know escapes characters in a lot of programming languages but this is different I guess as that didn't help.

    – Caesium
    Mar 26 at 22:32











  • %25 is the escape code for %. A quick way to find out is to open your browser's developer tools (F12 for Chrome on Windows), go to "Console" and type encodeURIComponent('%'). It'll return the encoded version of whatever you gave it.

    – MatsLindh
    Mar 27 at 7:45











  • Cool. Thanks for the help!

    – Caesium
    Mar 27 at 18:11













0












0








0








I am trying to use the mm (Minimum Should Match) parameter with the dismax parser. If I do just mm=2 or any other int value it seems to work fine. But if I try and add a percent as shown in the able, say mm=60%, then I get an "invalid digit" error for the query. How do I actually use the percentage for mm?



Solr ref guide mm table



(running solr 7.6 btw)










share|improve this question














I am trying to use the mm (Minimum Should Match) parameter with the dismax parser. If I do just mm=2 or any other int value it seems to work fine. But if I try and add a percent as shown in the able, say mm=60%, then I get an "invalid digit" error for the query. How do I actually use the percentage for mm?



Solr ref guide mm table



(running solr 7.6 btw)







apache solr full-text-search edismax dismax






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 26 at 21:54









CaesiumCaesium

12 bronze badges




12 bronze badges















  • Do you have an example of your actual query string? Make sure you've escaped '%' properly, as it's the beginning of an URL parameter escape code as well, which means that your query could end up sending a random character instead of what you think it's sending.

    – MatsLindh
    Mar 26 at 22:21












  • How do you escape it? I tried % as I know escapes characters in a lot of programming languages but this is different I guess as that didn't help.

    – Caesium
    Mar 26 at 22:32











  • %25 is the escape code for %. A quick way to find out is to open your browser's developer tools (F12 for Chrome on Windows), go to "Console" and type encodeURIComponent('%'). It'll return the encoded version of whatever you gave it.

    – MatsLindh
    Mar 27 at 7:45











  • Cool. Thanks for the help!

    – Caesium
    Mar 27 at 18:11

















  • Do you have an example of your actual query string? Make sure you've escaped '%' properly, as it's the beginning of an URL parameter escape code as well, which means that your query could end up sending a random character instead of what you think it's sending.

    – MatsLindh
    Mar 26 at 22:21












  • How do you escape it? I tried % as I know escapes characters in a lot of programming languages but this is different I guess as that didn't help.

    – Caesium
    Mar 26 at 22:32











  • %25 is the escape code for %. A quick way to find out is to open your browser's developer tools (F12 for Chrome on Windows), go to "Console" and type encodeURIComponent('%'). It'll return the encoded version of whatever you gave it.

    – MatsLindh
    Mar 27 at 7:45











  • Cool. Thanks for the help!

    – Caesium
    Mar 27 at 18:11
















Do you have an example of your actual query string? Make sure you've escaped '%' properly, as it's the beginning of an URL parameter escape code as well, which means that your query could end up sending a random character instead of what you think it's sending.

– MatsLindh
Mar 26 at 22:21






Do you have an example of your actual query string? Make sure you've escaped '%' properly, as it's the beginning of an URL parameter escape code as well, which means that your query could end up sending a random character instead of what you think it's sending.

– MatsLindh
Mar 26 at 22:21














How do you escape it? I tried % as I know escapes characters in a lot of programming languages but this is different I guess as that didn't help.

– Caesium
Mar 26 at 22:32





How do you escape it? I tried % as I know escapes characters in a lot of programming languages but this is different I guess as that didn't help.

– Caesium
Mar 26 at 22:32













%25 is the escape code for %. A quick way to find out is to open your browser's developer tools (F12 for Chrome on Windows), go to "Console" and type encodeURIComponent('%'). It'll return the encoded version of whatever you gave it.

– MatsLindh
Mar 27 at 7:45





%25 is the escape code for %. A quick way to find out is to open your browser's developer tools (F12 for Chrome on Windows), go to "Console" and type encodeURIComponent('%'). It'll return the encoded version of whatever you gave it.

– MatsLindh
Mar 27 at 7:45













Cool. Thanks for the help!

– Caesium
Mar 27 at 18:11





Cool. Thanks for the help!

– Caesium
Mar 27 at 18:11












0






active

oldest

votes










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55366748%2fsolr-dismax-using-in-mm-parameter-give-error%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes




Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55366748%2fsolr-dismax-using-in-mm-parameter-give-error%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Obelisk of Theodosius Contents History Description Notes Bibliography Further reading External links Navigation menuAge of spirituality : late antique and early Christian art, third to seventh centuryOver 60 picturesObelisks of the World41°00′21.24″N 28°58′31.43″E / 41.0059000°N 28.9753972°E / 41.0059000; 28.97539727724550-7235741376235741376

밀양 대씨 역사 각주 함께 보기 둘러보기 메뉴밀양 대씨

1973년 목차 사건 문화 탄생 사망 노벨상 달력 둘러보기 메뉴