Hi All, I am trying to query my ES index with the following queries :
https://gist.github.com/cheehoo/9829381#file-relevancysorting It returned result that are not sort in based on relevancy : For instance ther result returned is : 1) "_source": { "DISPLAY_NAME": "The Western Sheriff Rapid Fast Gunman", "LONG_DESCRIPTION": "The Western Sheriff Radid Fast Gunman is about a western sheriff who protects the justice. When the criminal gangs came to battle with the sheriff, come and protect them who you *love *Fighting!", "SHORT_DESCRIPTION": "The Western Sheriff Radid Fast Gunman is about a western sheriff who protect the justice. When the criminal gangs came to battle with the sheriff come and protect them who you *love* Fighting", } 2) "_source": { "DISPLAY_NAME": "Beach Ball Crab Mayhem HD", "LONG_DESCRIPTION": "Crabs *LOVE *Volleyball! Come join in the fun with crazy locations and fun characters! You can even challenge your friends via Bluetooth!", "SHORT_DESCRIPTION": "Crabs *LOVE *Volleyball! Come join the fun and play your friends via Bluetooth!", 3) "_source": { "DISPLAY_NAME": "*love*", "LONG_DESCRIPTION": null, "SHORT_DESCRIPTION": "*love*", I would like to know how i could change the existing query to return result based on relevancy on specific fields eg : the 3) to be appear in as in the 1st result (Always use DISPLAY_NAME to determine the relevancy)? And also is the relevancy in ES is based on the scoring ? Thanks. -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/13e04156-148b-43df-bb12-b6209e27eb1c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
