Re: expand=true throws error

2020-03-31 Thread Szűcs Roland
Hi Munendra, Yes, indeed it was the problem. Thank you very much your help. Expand is just a pure parameter. Now it is working. Thanks, Roland Munendra S N ezt írta (időpont: 2020. márc. 31., K, 5:22): > > Case 3 let;s extend it with expand=true: > > { "responseHeader":{ "status":0, "QTime":1,

Re: expand=true throws error

2020-03-30 Thread Munendra S N
> Case 3 let;s extend it with expand=true: > { "responseHeader":{ "status":0, "QTime":1, "params":{ > "q":"author:\"William > Shakespeare\"", "fq":"{!collapse field=title}&expand=true", "_": > "1585603593269"}}, > I think it is because, expand=true parameter is not passed properly. As you can see f

Re: expand=true throws error

2020-03-30 Thread Szűcs Roland
Hi Munendra, Let's see the 3 scenario: 1. Query without collapse 2. Query with collapse 3. Query with collapse and expand I made a mini book database for this: Case 1: { "responseHeader":{ "status":0, "QTime":0, "params":{ "q":"author:\"William Shakespeare\"", "_":"1585603593269"}}, "response":{"nu

Re: expand=true throws error

2020-03-30 Thread Munendra S N
Please share the complete request. Also, does number of results change with & without collapse. Usually title would be unique every document. If that is the case then, there won't be anything to expand right? On Mon, Mar 30, 2020, 8:22 PM Szűcs Roland wrote: > Hi Munendra, > I do not get error

Re: expand=true throws error

2020-03-30 Thread Szűcs Roland
Hi Munendra, I do not get error . The strange thing is that I get exactly the same response with fq={!collapse field=title} versus fq={!collapse field=title}&expand=true. Collapse works properly as a standalone fq but expand has no impact. How can I have access to the "hidden" documents then? Rol

Re: expand=true throws error

2020-03-30 Thread Munendra S N
Hey, Could you please share the stacktrace or error message you received? On Mon, Mar 30, 2020, 7:58 PM Szűcs Roland wrote: > Hi All, > > I manage to use edismax queryparser in solr 8.4.1 with collapse without any > problem. I tested it with the SOLR admin GUI. So fq={!collapse field=title} > wo

expand=true throws error

2020-03-30 Thread Szűcs Roland
Hi All, I manage to use edismax queryparser in solr 8.4.1 with collapse without any problem. I tested it with the SOLR admin GUI. So fq={!collapse field=title} worked fine. As soon as I use the example from the documentation and use: fq={!collapse field=title}&expand=true, I did not get back any