Hi,
   Im new to solr and would ike to index my database.It is working fine for
columns.
But in solr I have one which which will take the average value from
database.The avaerage is not saving in solr.
Below is my sample dataconfig.xml
<dataSource  />
    <document>
        <entity name="doctor" query="***">
                //fields<->Columns

                        <entity name="count" query="select count(*) from table" 
>
                                <field column="count" name="countValue" />
                        </entity>
                        
                          ..
</document>
countValue is always returning zero.
Can anyone help me in this regard.




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Aggregate-functions-in-Solr-entity-Queries-tp4143675.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to