# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
vespa_add_library(searchcore_server STATIC
    SOURCES
    blockable_maintenance_job.cpp
    bootstrapconfig.cpp
    bootstrapconfigmanager.cpp
    buckethandler.cpp
    bucketmovejob.cpp
    clear_imported_attribute_search_cache_job.cpp
    clusterstatehandler.cpp
    combiningfeedview.cpp
    ddbstate.cpp
    detached_rpc_request.cpp
    detached_rpc_requests_owner.cpp
    disk_mem_usage_metrics.cpp
    disk_mem_usage_sampler.cpp
    docstorevalidator.cpp
    document_db_config_owner.cpp
    document_db_directory_holder.cpp
    document_db_explorer.cpp
    document_db_flush_config.cpp
    document_db_initialization_status.cpp
    document_db_maintenance_config.cpp
    document_db_reconfig.cpp
    document_meta_store_config.cpp
    document_meta_store_read_guards.cpp
    document_scan_iterator.cpp
    document_subdb_collection_explorer.cpp
    document_subdb_collection_initializer.cpp
    document_subdb_explorer.cpp
    document_subdb_initializer.cpp
    document_subdb_initializer_result.cpp
    document_subdb_reconfig.cpp
    documentbucketmover.cpp
    documentdb.cpp
    documentdb_metrics_updater.cpp
    documentdbconfig.cpp
    documentdbconfigmanager.cpp
    documentdbconfigscout.cpp
    documentretriever.cpp
    documentretrieverbase.cpp
    documentsubdbcollection.cpp
    emptysearchview.cpp
    executor_explorer_utils.cpp
    executor_thread_service.cpp
    executor_threading_service_explorer.cpp
    executorthreadingservice.cpp
    fast_access_doc_subdb.cpp
    fast_access_doc_subdb_configurer.cpp
    fast_access_document_retriever.cpp
    fast_access_feed_view.cpp
    feed_handler_stats.cpp
    feedhandler.cpp
    feedstate.cpp
    feedstates.cpp
    fileconfigmanager.cpp
    flushhandlerproxy.cpp
    forcecommitcontext.cpp
    forcecommitdonetask.cpp
    health_adapter.cpp
    heart_beat_job.cpp
    hw_info_explorer.cpp
    idocumentdbowner.cpp
    ifeedview.cpp
    initialize_threads_calculator.cpp
    initialization_handler.cpp
    ireplayconfig.cpp
    job_tracked_maintenance_job.cpp
    lid_space_compaction_handler.cpp
    lid_space_compaction_job.cpp
    maintenance_controller_explorer.cpp
    maintenance_job_token.cpp
    maintenance_job_token_source.cpp
    maintenance_jobs_injector.cpp
    maintenancecontroller.cpp
    maintenancedocumentsubdb.cpp
    maintenancejobrunner.cpp
    malloc_info_explorer.cpp
    matchers.cpp
    matchview.cpp
    memory_flush_config_updater.cpp
    memoryconfigstore.cpp
    memoryflush.cpp
    minimal_document_retriever.cpp
    move_operation_limiter.cpp
    operationdonecontext.cpp
    persistencehandlerproxy.cpp
    prepare_restart_handler.cpp
    prepare_restart_rpc_handler.cpp
    prepare_restart2_rpc_handler.cpp
    proton.cpp
    proton_config_fetcher.cpp
    proton_config_snapshot.cpp
    proton_configurer.cpp
    proton_disk_layout.cpp
    proton_initialization_status.cpp
    proton_thread_pools_explorer.cpp
    pruneremoveddocumentsjob.cpp
    putdonecontext.cpp
    reconfig_params.cpp
    remove_operations_rate_tracker.cpp
    removedonecontext.cpp
    replaypacketdispatcher.cpp
    resource_usage_explorer.cpp
    resource_usage_forwarder.cpp
    resource_usage_notifier.cpp
    resource_usage_state.cpp
    resource_usage_write_filter.cpp
    rpc_hooks.cpp
    sample_attribute_usage_job.cpp
    searchable_doc_subdb_configurer.cpp
    searchable_feed_view.cpp
    searchabledocsubdb.cpp
    searchcontext.cpp
    searchhandlerproxy.cpp
    searchview.cpp
    sequenced_task_executor_explorer.cpp
    set_flush_strategy_rpc_handler.cpp
    shared_threading_service.cpp
    shared_threading_service_config.cpp
    simpleflush.cpp
    storeonlydocsubdb.cpp
    storeonlyfeedview.cpp
    summaryadapter.cpp
    threading_service_config.cpp
    tlssyncer.cpp
    transactionlogmanager.cpp
    transactionlogmanagerbase.cpp
    updatedonecontext.cpp
    DEPENDS
    searchcore_attribute
    searchcore_bucketdb
    searchcore_docsummary
    searchcore_documentmetastore
    searchcore_flushengine
    searchcore_index
    searchcore_initializer
    searchcore_matchengine
    searchcore_matching
    searchcore_persistenceengine
    searchcore_reprocessing
    searchcore_summaryengine
    searchcore_reference
    vespa_configdefinitions
)
