Hi Mei, You are right.
Suddenlly it looks clear - is it too late? :-) Let me look at it again tomorrow. Thank you very much :-) Noam. Wangsheng Mei wrote: > > 2010/1/22 Noam G. <noam...@gmail.com> > >> >> Hi Mei, >> >> I replyed to you directlly by mistake - so here is the message again - >> allmost the same ;-) >> >> I think I'm getting it now :-) >> >> Let's take your suggestion: >> name:abc AND ((network_id:network1 AND payout:[minval TO *]) OR >> -network_id:network1) >> >> What I need is not the value of payout but, 50% of payout - and in >> another >> query a differnt value - I guess I need to use a function? >> > > if you need 50% of payout to be bigger than minval, it's equal to "payout > bigger than 2*minval", right? > why not calculate 2*minval first as newMinval = 2*minval, and use > name:abc AND ((network_id:network1 AND payout:[newMinval TO *]) OR > -network_id:network1)? > :-) > >> >> How can I do it? >> >> And one more time - thank you :-) >> >> Noam. >> -- >> View this message in context: >> http://old.nabble.com/Choosing-what-document-to-return.-tp27259310p27261312.html >> Sent from the Solr - User mailing list archive at Nabble.com. >> >> > > > -- > 梅旺生 > > -- View this message in context: http://old.nabble.com/Choosing-what-document-to-return.-tp27259310p27263025.html Sent from the Solr - User mailing list archive at Nabble.com.