Hi all!
I’m experiencing the following weird behaviour: I have a query which returns
two results,
and then I’m using collapse/expand on those to group them by a field,
yet even though the returned documents in the response contain this field,
they are actually not in the expanded response property.
Anybody has an idea why this might be happening?
``` Example response
{
"responseHeader":{
"status":0,
"QTime":6,
"params":{
"q”:"text OR companyName:text*",
"defType":"edismax",
"expand":"true",
"expand.rows":"5",
"fl":"*,score",
"start":"0",
"fq":["validFrom:[* TO NOW]",
"validTo:[NOW TO *]",
"{!collapse field=type}",
"filter(market:se)"],
"rows":"9999",
"wt":"json"}},
"response":{"numFound":2,"start":0,"maxScore":10.004526,"numFoundExact":true,"docs":[
{
"type":"partner",
"_version_":1743108385113374720,
"score":10.004526},
{
"type":"discount",
"_version_":1743108383646416896,
"score":8.287054}]
},
"expanded":{}}
```
==================================================
Konstantinos Koukouvis
[email protected]
Using Golang and Solr? Try this: https://github.com/mecenat/solr