Re: how to boosting fisrt substring in a string solr.
http://lucene.apache.org/core/3_6_1/queryparsersyntax.html#Boosting a Term How about this: Yoga^2 "Yoga Teacher" On Thu, Sep 13, 2012 at 5:32 AM, Tanguy Moal wrote: > Hi, > Did you try issuing a query like : "+Yoga Teacher" (without the > double-quotes) ? > > See http://lucene.apache.org/core/3_6_1/queryparsersyntax.html#Boolean > operators for more details one lucene's query parser's syntax. > > Hope this helps, > -- > Tanguy > > 2012/9/13 veena rani > > > Hi , > > > > In solr, If i m search for for string like Yoga Teacher, it should search > > for yoga as well as yoga teacher, > > but it should not search for just teacher like maths teacher or science > > teacher and any other teacher. > > How can i do this in solr. > > Please any one can give me solution to this question. > > > > -- > > Regards, > > Veena. > > Banglore. > > >
Re: how to boosting fisrt substring in a string solr.
Hi, Did you try issuing a query like : "+Yoga Teacher" (without the double-quotes) ? See http://lucene.apache.org/core/3_6_1/queryparsersyntax.html#Boolean operators for more details one lucene's query parser's syntax. Hope this helps, -- Tanguy 2012/9/13 veena rani > Hi , > > In solr, If i m search for for string like Yoga Teacher, it should search > for yoga as well as yoga teacher, > but it should not search for just teacher like maths teacher or science > teacher and any other teacher. > How can i do this in solr. > Please any one can give me solution to this question. > > -- > Regards, > Veena. > Banglore. >
how to boosting fisrt substring in a string solr.
Hi , In solr, If i m search for for string like Yoga Teacher, it should search for yoga as well as yoga teacher, but it should not search for just teacher like maths teacher or science teacher and any other teacher. How can i do this in solr. Please any one can give me solution to this question. -- Regards, Veena. Banglore.