Re: Choosing what document to return.

2010-01-24 Thread Noam G.
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.

Choosing what document to return.

2010-01-21 Thread Noam G.
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.

Re: Choosing what document to return.

2010-01-21 Thread Smiley, David W.
; } }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

Re: Choosing what document to return.

2010-01-21 Thread Erick Erickson
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.

Re: Choosing what document to return.

2010-01-21 Thread Chantal Ackermann
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.

Re: Choosing what document to return.

2010-01-21 Thread Wangsheng Mei
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. -- 梅旺生

Re: Choosing what document to return.

2010-01-21 Thread Noam G.
then if payoutminval 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 :-) Noam. -- View this message in context: http://old.nabble.com/Choosing-what

Re: Choosing what document to return.

2010-01-21 Thread Noam 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-document

Re: Choosing what document to return.

2010-01-21 Thread Wangsheng Mei
if As you can see the problem I have is with the if-else. I hope it was clearer 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. -- 梅旺生

Re: Choosing what document to return.

2010-01-21 Thread Noam G.
% 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 mailing list

Re: Choosing what document to return.

2010-01-21 Thread Wangsheng Mei
, 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

Re: Choosing what document to return.

2010-01-21 Thread Noam G.
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