Skip to first unread message

Martin Larsson

unread,
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][127.0.0.1:9300][indices:data/read/search[phase/query]]
Caused by: org.elasticsearch.index.query.QueryShardException: No mapping found for [i18n.sv.title.alphasort] in order to sort on
        at org.elasticsearch.search.sort.FieldSortBuilder.build(FieldSortBuilder.java:262) ~[elasticsearch-5.6.16.jar:5.6.16]
        at org.elasticsearch.search.sort.SortBuilder.buildSort(SortBuilder.java:156) ~[elasticsearch-5.6.16.jar:5.6.16]
        at org.elasticsearch.search.SearchService.parseSource(SearchService.java:634) ~[elasticsearch-5.6.16.jar:5.6.16]
        at org.elasticsearch.search.SearchService.createContext(SearchService.java:485) ~[elasticsearch-5.6.16.jar:5.6.16]
        at org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:461) ~[elasticsearch-5.6.16.jar:5.6.16]
        at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:257) ~[elasticsearch-5.6.16.jar:5.6.16]
        at org.elasticsearch.action.search.SearchTransportService$6.messageReceived(SearchTransportService.java:343) ~[elasticsearch-5.6.16.jar:5.6.16]
        at org.elasticsearch.action.search.SearchTransportService$6.messageReceived(SearchTransportService.java:340) ~[elasticsearch-5.6.16.jar:5.6.16]
        at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:69) ~[elasticsearch-5.6.16.jar:5.6.16]
        at org.elasticsearch.transport.TransportService$7.doRun(TransportService.java:662) [elasticsearch-5.6.16.jar:5.6.16]
        at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:675) [elasticsearch-5.6.16.jar:5.6.16]
        at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-5.6.16.jar:5.6.16]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_352]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_352]
        at java.lang.Thread.run(Thread.java:750) [?:1.8.0_352]

best regards
martin

José Raddaoui

unread,
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,
Radda.
Reply all
Reply to author
Forward
0 new messages