There were changes in the behavior of Solr's local param syntax which
affected the fetch expression. Check to see if there is a default defType
set in the solrconfig for the /select handler. For fetch to work the
qparser in. the /select handler needs to be the lucene qparser which is the
default if not overridden in the solrconfig. See this ticket for details:
https://issues.apache.org/jira/browse/SOLR-11501.


Joel Bernstein
http://joelsolr.blogspot.com/


On Tue, Jun 28, 2022 at 7:59 PM Kojo <rbsnk...@gmail.com> wrote:

> I am upgrading from Solr 6.6 to 9.0
>
> I have some SE working fine on 6.6, where I fetch some fields to enrich the
> gatherNodes fucntion result-set.
>
> Bellow is a much more simple example, where I am trying to fetch some
> fields:
>
> fetch(my_collection,
> search(my_collection, qt="/export", q=*:*, fl="numero_processo",
> sort="numero_processo asc", fq=(any_fq_exact:"any" AND
> django_ct:"django_ct"), )
> ,fl="fomento_status_facet, data_inicio_ano ",
> on="numero_processo=numero_processo",)
>
>
> It was supposed to fetch the fields fl="fomento_status_facet,
> data_inicio_ano", but the result-set does't carry this fields:
>
> {
>   "result-set": {
>     "docs": [
>       {
>         "numero_processo": "05/51689-2"
>       },
>       {
>         "numero_processo": "13/07276-1"
>       },
>       {
>         "numero_processo": "13/07296-2"
>       },
>       {
>
>
> Any hint?
>
>
> Thank you!
>

Reply via email to