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
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
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.