:       solr-spec-version
:           4.0.0.2011.07.19.16.15.08
:       solr-impl-version
:           4.0-SNAPSHOT ${svnversion} - ad895d - 2011-07-19 16:15:08

Uh, ok ... that doesn't really answer my question at all.

According to that info, your version of solr was *built* on 2011-07-19, 
using some snapshot of trunk, but the svn version info is missing, so 
there is know way of knowing how old that snapshot is.  

you also didn't answer my question about the field type you are using for 
Count.

details matter.

SOLR-2348 was commited to trunk on 2011-02-17 (r1071459).  When i tried to 
reproduce your example using the current trunk, and an un-indexed 
TrieIntField (i edited "popularity" in the example schema.xml to make it 
indexed="false") i got the expected error message instead of silently 
computing he wrong value when i tried to use popularity in a function...

http://localhost:8983/solr/select?q=ipod&fl=id,product%28popularity,price%29

So unless your 2011-07-19 build was from a version of svn that was already 
4 months old, there may still be something wrong that we should try to get 
to the bottom of.


-Hoss

Reply via email to