Please guide me to get knowledge in Elasticsearch Here is my problem I have User form having 40 fields something like Salutaion,firstName,lastName, emailId,phoneNumber,facebookUrl,Description,skype....etc I filled the form like Document #1 salutation : Dr. firstName : Clark lastName : Kenny emailId:[email protected],[email protected],[email protected] skype : clark.josi facebookUrl : www.facebook.com/clark .. ..
Document #2 salutation : "" firstName : Kenny lastName : Clark emailId:[email protected] skype : josi facebookUrl : "" .. .. Now searched for "Kenny clark" the order of results are Document #1 --score : 0.4585 Document #2 --score ; 0.3954 But i want Document #2 as first result i used matchQuery like QueryBuilders.matchQuery("firstName","searchText").boost(0.99f); QueryBuilders.matchQuery("emailId","searchText").boost(0.8f); Could you please explain me how boost and score works? Please share any Elasticsearch Java API notes. -- 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/e719753e-3ccf-4c0d-adbe-b9ffda8f30ba%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
