how to let match_phrase_prefix support non-order phrase queryHow do I time a method's execution in Java?How to create a generic array in Java?How to get an enum value from a string value in Java?How do I break out of nested loops in Java?'Must Override a Superclass Method' Errors after importing a project into EclipseHow to parse JSON in JavaHow to directly initialize a HashMap (in a literal way)?_all field in match phrase prefix queryHow to use phrase suggester results as part of a queryWhy does array[idx++]+=“a” increase idx once in Java 8 but twice in Java 9 and 10?

How do I handle a table mixing up the DM and the players' roles too often?

Would it be a copyright violation if I made a character’s full name refer to a song?

Is this proposal by U.S. presidential candidate Pete Buttigieg to change the composition of the Supreme Court constitutional?

Parameterize chained calls to a utility program in Bash

Why do textbooks often include the solutions to odd or even numbered problems but not both?

How does a blind passenger not die, if driver becomes unconscious

How does DC work with natural 20?

Greeting with "Ho"

Can humans ever directly see a few photons at a time? Can a human see a single photon?

.NET executes a SQL query and Active Monitor shows multiple rows blocking each other

What does "play with your toy’s toys" mean?

How would modern naval warfare have to have developed differently for battleships to still be relevant in the 21st century?

Understanding the reasoning of the woman who agreed with King Solomon to "cut the baby in half"

How many children?

How long would it take to cross the Channel in 1890's?

Has there been any indication at all that further negotiation between the UK and EU is possible?

Why aren't non-isolated DC-DC converters made for high wattage applications?

Helping ease my back pain when I'm studying 13 hours everyday, even weekends

What did River say when she woke from her proto-comatose state?

How do I professionally let my manager know I'll quit over smoking in the office?

Is it illegal to withhold someone's passport and green card in California?

How can I politely work my way around not liking coffee or beer when it comes to professional networking?

Interaction between Leyline of Anticipation and Teferi, Time Raveler

Are all instances of trolls turning to stone ultimately references back to Tolkien?



how to let match_phrase_prefix support non-order phrase query


How do I time a method's execution in Java?How to create a generic array in Java?How to get an enum value from a string value in Java?How do I break out of nested loops in Java?'Must Override a Superclass Method' Errors after importing a project into EclipseHow to parse JSON in JavaHow to directly initialize a HashMap (in a literal way)?_all field in match phrase prefix queryHow to use phrase suggester results as part of a queryWhy does array[idx++]+=“a” increase idx once in Java 8 but twice in Java 9 and 10?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















For example, I have a document value is "123 456" and
use match_phrase_prefix with input "123", "456"
or "123 45" can get result, But when disorder the input phrase like
"456 123" or "456 12" can not get result, So how can i get the correct
result.










share|improve this question






























    0















    For example, I have a document value is "123 456" and
    use match_phrase_prefix with input "123", "456"
    or "123 45" can get result, But when disorder the input phrase like
    "456 123" or "456 12" can not get result, So how can i get the correct
    result.










    share|improve this question


























      0












      0








      0








      For example, I have a document value is "123 456" and
      use match_phrase_prefix with input "123", "456"
      or "123 45" can get result, But when disorder the input phrase like
      "456 123" or "456 12" can not get result, So how can i get the correct
      result.










      share|improve this question
















      For example, I have a document value is "123 456" and
      use match_phrase_prefix with input "123", "456"
      or "123 45" can get result, But when disorder the input phrase like
      "456 123" or "456 12" can not get result, So how can i get the correct
      result.







      java elasticsearch






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 25 at 9:38







      wang8118

















      asked Mar 25 at 8:40









      wang8118wang8118

      65




      65






















          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%2f55333941%2fhow-to-let-match-phrase-prefix-support-non-order-phrase-query%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















          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%2f55333941%2fhow-to-let-match-phrase-prefix-support-non-order-phrase-query%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

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript