absolutely, that's what I didn't get in your initial question. Okay it
seems you are talking about typical eCommerce search problem. I will speak
about it at http://www.apachecon.eu/schedule/presentation/18/ see you.

On Fri, Oct 5, 2012 at 9:47 AM, rhl4tr <rhl4...@gmail.com> wrote:

> But user query can contain any number of terms. I can not know how many
> fields term it has to match.
>
> {
>   "responseHeader":{
>     "status":0,
>     "QTime":1,
>     "params":{
>       "mm":"0",
>       "sort":"score desc",
>       "indent":"true",
>       "qf":"exact_keywords",
>       "wt":"json",
>       "rows":"1",
>       "defType":"dismax",
>       "pf":"exact_keywords",
>       "debugQuery":"false",
>       "fl":"data_id,data_name,exact_keywords",
>       "start":"0",
>       "q":"i want to by honda suzuki",
>       "fq":"+data_type:pwords"}},
>   "response":{"numFound":2,"start":0,"docs":[
>       {
>         "data_name":"Cars ",
>         "data_id":"71",
>         "exact_keywords":"honda suzuki",
>         "term_mm":"100%"},
>       {
>         "data_name":"bikes ",
>         "data_id":"72",
>         "exact_keywords":"suzuki",
>         "term_mm":"50%"}
> ]
>   }}
>
> An hypothetical solution would look like above json response.
> user_mm parameter will tell what percentage of terms has matched to user
> query.
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Identify-exact-search-in-edismax-tp4011859p4011976.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Sincerely yours
Mikhail Khludnev
Tech Lead
Grid Dynamics

<http://www.griddynamics.com>
 <mkhlud...@griddynamics.com>

Reply via email to