okay i found it. 

        <script> 
                <![CDATA[ 
                        function BoostDoc(row){
                                var is_highlight = row.get('is_highlight');
                                
                                if(is_highlight == 1){
                                        row.put('$docBoost',1);
                                }
                                return row;
                        }
                ]]>
        </script>

<entity name="item" pk="id" transformer="script:BoostDoc" query:"select
....." </entity>        
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Boost-at-IndexTime-for-special-docs-tp812277p812386.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to