lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Bell <billnb...@gmail.com>
Subject Re: Issue with passing local params 4.7
Date Wed, 26 Mar 2014 03:16:47 GMT
"sort": "rint(product(sum($p_score,$s_score,$q_score),100)) desc,s_query asc
","tie": "1","q1": "$q","q_score": "query({!dismax qf=\"user_query_edge^1
user_query^0.5 user_query_fuzzy\" v=$q1})",
I also tried q1=cancer... It does not work unless I set v='cancer'


On Tue, Mar 25, 2014 at 9:12 PM, William Bell <billnbell@gmail.com> wrote:

> &q_score=cancer
>
>
>
> http://hgsolr2testsl:8983/solr/autosuggest/select?omitHeader=false&q=cancer&pt1=39.740009,-104.992264&qt=joinautopraccond2&wt=json&rows=100&echoParams=all&fl=user_query,$p_score,$s_score,q_score:query({!dismax%20qf=%22user_query_edge^1%20user_query^0.5%20user_query_fuzzy%22%20v=$q_score}),priority,synonym_rank<http://hgsolr2testsl:8983/solr/autosuggest/select?omitHeader=false&q=cancer&pt1=39.740009,-104.992264&qt=joinautopraccond2&wt=json&rows=100&echoParams=all&fl=user_query,$p_score,$s_score,q_score:query(%7B!dismax%20qf=%22user_query_edge%5E1%20user_query%5E0.5%20user_query_fuzzy%22%20v=cancer%7D),priority,synonym_rank>
>
>
> That does not work. We need to use v=cancer or v='cancer' and it works.
> Why?
>
>
>
> http://hgsolr2testsl:8983/solr/autosuggest/select?omitHeader=false&q=cancer&pt1=39.740009,-104.992264&qt=joinautopraccond2&wt=json&rows=100&echoParams=all&fl=user_query,$p_score,$s_score,q_score:query({!dismax%20qf=%22user_query_edge^1%20user_query^0.5%20user_query_fuzzy%22%20v=cancer}),priority,synonym_rank&sort=rint(product(sum($p_score,$s_score,query({!dismax%20qf=%22user_query_edge^1%20user_query^0.5%20user_query_fuzzy%22%20v=cancer})),100))%20desc,s_query%20asc<http://hgsolr2testsl:8983/solr/autosuggest/select?omitHeader=false&q=cancer&pt1=39.740009,-104.992264&qt=joinautopraccond2&wt=json&rows=100&echoParams=all&fl=user_query,$p_score,$s_score,q_score:query(%7B!dismax%20qf=%22user_query_edge%5E1%20user_query%5E0.5%20user_query_fuzzy%22%20v=cancer%7D),priority,synonym_rank&sort=rint(product(sum($p_score,$s_score,query(%7B!dismax%20qf=%22user_query_edge%5E1%20user_query%5E0.5%20user_query_fuzzy%22%20v=cancer%7D)),100))%20desc,s_query%20asc>
>
>
>
> --
> Bill Bell
> billnbell@gmail.com
> cell 720-256-8076
>



-- 
Bill Bell
billnbell@gmail.com
cell 720-256-8076

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message