Skip to first unread message

Martin Larsson

Feb 21, 2023, 10:29:43 AM2/21/23
to AtoM Users
hello, having done a clean atom 2.7 installation I have problems with elasticsearch.
What I've done is imported a csv with some simple test data.
Usually when I have elasticsearch problems a reindex is enough, but not this time.

The error in atom im getting is Elasticsearcfel: Elastica\Exception\ResponseException.

php symfony search:status
Elasticsearch server information:
 - Version: 5.6.16
 - Host: localhost
 - Port: 9200
 - Index name: atom

Document indexing status:
 - Accession: 0/0
 - Actor: 2/2
 - Aip: 0/0
 - Function object: 0/0
 - Information object: 13/13
 - Repository: 1/1
 - Term: 326/326

thanks for any help.

elasticlog says

org.elasticsearch.transport.RemoteTransportException: [Pw76Kt5][][indices:data/read/search[phase/query]]
Caused by: org.elasticsearch.index.query.QueryShardException: No mapping found for [] in order to sort on
        at ~[elasticsearch-5.6.16.jar:5.6.16]
        at ~[elasticsearch-5.6.16.jar:5.6.16]
        at ~[elasticsearch-5.6.16.jar:5.6.16]
        at ~[elasticsearch-5.6.16.jar:5.6.16]
        at ~[elasticsearch-5.6.16.jar:5.6.16]
        at ~[elasticsearch-5.6.16.jar:5.6.16]
        at$6.messageReceived( ~[elasticsearch-5.6.16.jar:5.6.16]
        at$6.messageReceived( ~[elasticsearch-5.6.16.jar:5.6.16]
        at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived( ~[elasticsearch-5.6.16.jar:5.6.16]
        at org.elasticsearch.transport.TransportService$7.doRun( [elasticsearch-5.6.16.jar:5.6.16]
        at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun( [elasticsearch-5.6.16.jar:5.6.16]
        at [elasticsearch-5.6.16.jar:5.6.16]
        at java.util.concurrent.ThreadPoolExecutor.runWorker( [?:1.8.0_352]
        at java.util.concurrent.ThreadPoolExecutor$ [?:1.8.0_352]
        at [?:1.8.0_352]

best regards

José Raddaoui

Feb 21, 2023, 11:48:27 AM2/21/23
to AtoM Users
Hi Martin,

Is the Swedish language enabled in /settings/language? You may need to do that before re-indexing to get it added to the mapping in Elasticsearch.

Best regards,
Reply all
Reply to author
0 new messages