Hi Mei
Thank you very much - looks good :-)
Noam.
--
View this message in context:
http://old.nabble.com/Choosing-what-document-to-return.-tp27259310p27293083.html
Sent from the Solr - User mailing list archive at Nabble.com.
te 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.
>> --
>>
, 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:
ut but, 50% of payout - and in another
query a differnt value - I guess I need to use a function?
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 ma
quot; then
> if payout>minval then
> add the document to the results.
> end if
> else
> don't add the document to the results.
> end if
>
> As you can see the problem I have is with the "if-else".
>
> I hope it was clearer now :-)
>
&g
Hi Mei,
The problem is that I need to do a calculation on the field.
So I assumed I need to extend one of the classes in order to be able to do a
calculation on a field with an if-else capabailities.
Don't I?
Noam.
--
View this message in context:
http://old.nabble.com/Choosing-what-doc
earer now :-)
Noam.
--
View this message in context:
http://old.nabble.com/Choosing-what-document-to-return.-tp27259310p27259888.html
Sent from the Solr - User mailing list archive at Nabble.com.
t; }else if(index_value == myval2) {
> ...
> }else if(index_value == myval3) {
> ...
> }
>
> What should I override to implement this?
>
> Thank you very much,
>
> Noam.
> --
> View this message in context:
> http://old.nabble.com/Choosing-what-document-to-return.-tp27259310p27259310.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>
--
梅旺生
ride to implement this?
Thank you very much,
Noam.
--
View this message in context:
http://old.nabble.com/Choosing-what-document-to-return.-tp27259310p27259310.html
Sent from the Solr - User mailing list archive at Nabble.com.
se if(index_value == myval2) {
> ...
> }else if(index_value == myval3) {
> ...
> }
>
> What should I override to implement this?
>
> Thank you very much,
>
> Noam.
> --
> View this message in context:
> http://old.nabble.com/Choosing-what-document-to-return.-tp27259310p27259310.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>
other_index_value == 1){
>don't return the document;
>} else {
>return the document;
>}
> }else if(index_value == myval2) {
> ...
> }else if(index_value == myval3) {
> ...
> }
>
> What should I override to implement this?
>
> Than
lue == myval2) {
...
}else if(index_value == myval3) {
...
}
What should I override to implement this?
Thank you very much,
Noam.
--
View this message in context:
http://old.nabble.com/Choosing-what-document-to-return.-tp27259310p27259310.html
Sent from the Solr - User mailing list archive at Nabble.com.
12 matches
Mail list logo