2012 5:34 PM
> To: solr-user@lucene.apache.org
> Subject: Re: How to boost exact match?
>
>
> Thanks a lot for your reply.
>
> Consider the below query
>
> ?q=data management&defType=edismax&qf=**name^100 text uid^0.3&fl=name
>
> I am trying to boost t
First of all, if you stem on indexing and you don't on query time, your
queries wont find anything valuable.
This is an easy approach. If you want full term (no stemmed) matches were
boosted you have to query like:
?q=data management&defType=edismax&qf=*name_without_stemming^200* name^100
text ui
field a much higher boost.
-- Jack Krupansky
-Original Message-
From: bbarani
Sent: Thursday, October 25, 2012 5:34 PM
To: solr-user@lucene.apache.org
Subject: Re: How to boost exact match?
Thanks a lot for your reply.
Consider the below query
?q=data management&defType=edismax&
Thanks a lot for your reply.
Consider the below query
?q=data management&defType=edismax&qf=name^100 text uid^0.3&fl=name
I am trying to boost the name as much as possible, even then the results are
in below order
-
MANAGER
-
MANAGER
-
MANAGERS
-
...AA DATA MANAGEMENT
You neglected to show us your example queries and how you wanted to boost
them. The simple answer is to supply multiple query terms with increasing
level of detail (e.g., more terms in a quoted phrase) and apply a query
boost that is higher for the more exact matches.
If you don't get expected
Sorry about resending couple of times, I accidently hit send a couple of
times..
@ajdabholkar, It certainly achievable. How exactly to achieve this depends
on your document structure.
Lets say you have
iphone 4 - white
iphone 4s - white
iphone 4 - black
case 1: You have product_name - color for
@ajdabholkar, It certainly achievable. How exactly to achieve this depends
on your document structure.
Lets say you have
iphone 4 - white
iphone 4s - white
iphone 4 - black
case 1: You have product_name - color format
If you have a field in each of your documents that specifies product_name
and
@ajdabholkar, It certainly achievable. How exactly to achieve this depends
on your document structure.
Lets say you have
iphone 4 - white
iphone 4s - white
iphone 4 - black
case 1: You have product_name - color format
If you have a field in each of your documents that specifies product_name
and
create an field for exact match. it is a optional boolean clause
在 2012-8-11 下午1:42,"abhayd" 写道:
> hi
>
> I have documents like
> iphone 4 - white
> iphone 4s - black
> ipone4 - black
>
> when user searches for iphone 4 i would like to show iphone 4 docs first
> and
> iphone 4s after that.
> Simil