Hi Guys,
I was playing with payloads example as I had a possible use case of alternate product titles for a product. https://lucidworks.com/2017/09/14/solr-payloads/ bin/solr start bin/solr create -c payloads bin/post -c payloads -type text/csv -out yes -d $'id,vals_dpf\n1,one|1.0 two|2.0 three|3.0\n2,weig... I saw you could do this: http://localhost:8983/solr/payloads/query?q=*:*&wt=csv&fl=id,p:payload(vals_dpf,three) id,p 1,3.0 2,0.0 So I wanted to do something similar wiht strings and so I loaded solr with ./post -c payloads -type text/csv -out yes -d $'id,vals_dps\n1,one|thisisastring two|"this is a string" three|hi\n2,j son|{asdf:123}' http://localhost:8983/solr/payloads/query?q=vals_dps:json [{"id":"2","vals_dps":"json|{asdf:123}","_version_":1583284597287813000}] OK so here is my question, it seems like the payload function only works against numeric payloads. Further I can't see a way to get the payload to come out alone without the field value attached. What I would like is something like this, is this possible in any way? I know it would be easy enough to do some post query processing in a service layer but... just wondering about this. It seems like I should be able to get at the payload when it is a string. http://localhost:8983/solr/payloads/query?q=vals_dps:json&fl=id,p:payloadvalue(vals_dpf, json) [{"id":"2","p":"{asdf:123}","_version_":1583284597287813000}] Thanks Robi ________________________________ This communication is confidential. Frontier only sends and receives email on the basis of the terms set out at http://www.frontier.com/email_disclaimer.