Search does not work due to incompatible search server version
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
要約
After setting the remote search server and connecting successfully with Bitbucket Data Center - the code search does not work.
atlassian-bitbucket
.log
に次のメッセージが表示される
2023-04-20 10:03:34,464 ERROR [Caesium-1-1] c.a.b.i.s.i.s.StreamingComparator Unable to perform job due to an unexpected error
java.lang.IllegalStateException: Object content expected to have '_type' field, but was not present; present fields: _index, _id, _score, sort
[...]
Caused by: rx.exceptions.OnErrorThrowable$OnNextValue: OnError while emitting onNext value: com.atlassian.elasticsearch.client.search.SearchResponse.class
[...]
環境
Bitbucket Server or Data Center with a remote standalone search server
原因
This is due to an unsupported search server version.
ソリューション
Redo the setup for the search server using the supported version and integrate it with Bitbucket Data Center. Please refer to the respective Supported Platform for the specific Bitbucket Data Center version; Bitbucket Supported Platform.