: When I use your url example
:
http://localhost:8983/solr/select?q=*:*&rows=100&fl=id,inStock,if%28inStock,10,0%29&debugQuery=true
: I have :
: 10
: (and my document does not have the inStock field)
Elodie, this is definitely a tricy one...
I can reproduce the problme you are describing, on 4.
By the way Yonik which version do you use (4.4.0 or nightly) ?
Elodie
On 09/10/2013 04:06 PM, Elodie Sannier wrote:
I didn't forget to commit my changes.
I used commands:
java -Durl=http://localhost:8983/solr/collection1/update -jar post.jar
ipod_video.xml
curl 'http://localhost:8983/solr/colle
I didn't forget to commit my changes.
I used commands:
java -Durl=http://localhost:8983/solr/collection1/update -jar post.jar
ipod_video.xml
curl 'http://localhost:8983/solr/collection1/update/?commit=true'
When I use your url example
http://localhost:8983/solr/select?q=*:*&rows=100&fl=id,inStock
I just tried a simple test with the example data, and things seem to
be working fine...
I tried this:
http://localhost:8983/solr/select
?q=*:*
&rows=100
&fl=id, inStock, if(inStock,10,0)
I saw values of 10 when inStock==true and values of 0 when it was
missing or explicitly false.
Perhaps y