FullText Search stop working after switching to solr standalone

Hi there,

The full-text search stopped working after switching to use SOLR standalone and cdd-consumer standalone.

However, the field-based feature search is still working.

The configuration I have is:

BAP DS:

    mgmtp:
      a12:
        dataservices:
          cdd:
            dirtyDocuments:
              async:
                consumer:
                  enabled: false
                producer:
                  enabled: true
              sync:
                enabled: false
            solr:
              cloud:
                enabled: false
              collection:
                name: A12CddCore
              embedded:
                enabled: false
              urls: MY_SOLR_URL
          search:
            solr:
              cloud:
                enabled: false
              collection:
                name: A12Core
              embedded:
                enabled: false
              urls: MY_SOLR_URL

SOLR app:

We’re using a12-infrastructure chart 6.5.1 with value.yaml

global:
  imageRegistry: <INTERNAL_LINK>
  imagePullSecrets:
    - artifactory-credentials
  storageClass: nfs-csi
  security:
    # allow pulling images from our own registry
    allowInsecureImages: true
  secrets:
    # -- override prefix secrets from a12
    name: mrc-portal-secret

a12-infrastructure:
  dataservices:
    solr:
      config:
        version: 37.2.5
  solr:
    image:
      pullSecrets:
        - artifactory-credentials
    enabled: true
    a12:
      customInit:
        enabled: true
        configValues:
          configSetUrl: "https://<INTERNAL_LINK> .Values.dataservices.solr.config.version }}/dataservices-solr-config-{{ .Values.dataservices.solr.config.version }}-solr-config.zip"
        images:
          pullSecrets:
            - name: artifactory-credentials
    persistence:
      # -- Size for solr storage
      size: 3Gi

Do you have any idea how to solve it?

Small reminder because you selected that you use 2024.06.

:information_source: Solr is not used any longer by Data Services with version 2025.06. Please keep this in mind and don’t invest to much time in infrastructural changes. :wink:

Thanks for your reminder!
We need to switch to handle massive amounts of data in PROD environment. Especially, the CDD consumers need to be separated.

Hi @nguyen-sharp-drift , please investigate logs and find out what’s working and what’s not. In your excerpts I see you have producer enable, but the consumer is disabled. So there must be other consumer application that will process CDDs.

Hi @petr-high-peak ,

I have multi CDD Consumer instances, here is my configuration for the consumers:

  application-cdd-custom.yaml: |
    application:
      dataservices:
        repository:
          remote:
            enabled: false
    logging:
      level:
        com.mgmtp.a12.dataservices.cdd.internal.CddDirtyDocumentsConsumer: DEBUG
    mgmtp:
      a12:
        dataservices:
          attachments:
            enabled: false
          cdd:
            dirtyDocuments:
              async:
                consumer:
                  enabled: true
                producer:
                  enabled: false
              dirtyDocumentsQueue: dirtyDocuments
            solr:
              cloud:
                enabled: false
              collection-name: A12CddCore
              embedded:
                enabled: false
              urls: http://[MY-APP].svc.cluster.local:8983/solr
          cdd.model.excludes: [MY_MODELS]
          documents:
            computation:
              enabledForModels: [MY_MODELS]
            validation:
              enabled: false
          search:
            service: solrclient
            solr:
              urls: http://[MY-APP].svc.cluster.local:8983/solr

I can see the data in the SOLR app and use the full-text feature there.

I can’t see any error log in the DS server. Do you have an idea to enable more logs somewhere?

I enabled DEBUG logs in search package and got different results:

when using full-text

2026-01-19 04:49:37,596 [http-nio-7766-exec-2][DEBUG][earch.internal.AbstractSolrSearchService][u:mgmadmin][processId:] - Search query: {model: VehicleCDM_lightweight, filterSpec: {"fulltext":"209","filters":["Vehicle.VehicleData.LicensePlate:M-KP 209","Vehicle.VehicleData.WKZ:112"],"lang":""}, sortSpec: [], pagespec: {"offset":0,"limit":50}}

2026-01-19 04:49:37,607 [http-nio-7766-exec-2][DEBUG][earch.internal.AbstractSolrSearchService][u:mgmadmin][processId:] - Search yielded following document [] for following parameters [queryString[209],filters[org.apache.solr.client.solrj.request.json.JsonQueryRequest@6fc653c7],lang[],sortStrings[],offset[0],maxResults[50]]

not use full-text

2026-01-19 04:48:09,625 [ttp-nio-7766-exec-10][DEBUG][earch.internal.AbstractSolrSearchService][u:mgmadmin][processId:] - Search query: {model: VehicleCDM_lightweight, filterSpec: {"fulltext":"","filters":["Vehicle.VehicleData.LicensePlate:M-KP 209","Vehicle.VehicleData.WKZ:112"],"lang":""}, sortSpec: [], pagespec: {"offset":0,"limit":50}}

2026-01-19 04:48:09,639 [ttp-nio-7766-exec-10][DEBUG][earch.internal.AbstractSolrSearchService][u:mgmadmin][processId:] - Search yielded following document [com.mgmtp.a12.dataservices.document.internal.DefaultDataServicesDocument@308c1f61] for following parameters [queryString[],filters[org.apache.solr.client.solrj.request.json.JsonQueryRequest@629b6045],lang[],sortStrings[],offset[0],maxResults[50]]

I just playground with solr admin UI.

I got different results when using fulltext_ngrams and fulltext.

fulltext_ngrams → nothing

fulltext → returns 1 record

LIST_DOCUMENTS operation still working

LIST_CDDS stopped working

Do you have an idea why?

Hi all there,

I found out the root cause of this problem. When using CDD Consumers standalone, they will commit the CDD data to Solr independently with DS Server config.

On the DS server, we enabled full-text ngrams, but in the CDD Consumer config, we didn’t do so. That leads to the data being committed to Solr without a field fulltext_ngrams.

Adding mgmtp.a12.dataservices.search.analysis.fullText.ngrams.enabled: true to the CDD-Consumer configmap solved this issue.

Thank you!