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: FW: Complex boost statement
Date Sun, 19 Oct 2014 02:32:18 GMT
Wouldn't it be?

 if(and(exists(query({!v="BUS_CITY:regina"})),not(query({!v="BUS_IS_
TOLL_FREE:true"})),500,1)

On Fri, Oct 17, 2014 at 2:07 PM, Corey Gerhardt <
Corey.Gerhardt@directwest.com> wrote:

> Apparently I need to a long holiday so that I can interpret the
> documentation correctly.
>
>  if(and(exists(query({!v="BUS_CITY:regina"})),not(BUS_IS_TOLL_FREE)),500,1)
>
> -----Original Message-----
> From: Corey Gerhardt [mailto:Corey.Gerhardt@directwest.com]
> Sent: October-16-14 4:11 PM
> To: Solr User List
> Subject: Complex boost statement
>
> Edismax, solrnet
>
> I'm thinking that solrnet is going to be my problem due to I can only sent
> one "boost"  parameter.
>
> Is it possible to have a boost value:
>
> if(exists(query({!v="BUS_CITY:regina"}))&&(BUS_IS_NEARBY),20,1)
>
> Thanks,
>
> Corey
>
>


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

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