프로그래밍 검색 엔진 만들기
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
프로그래밍 검색 엔진을 만드는 방법에는 두 가지가 있습니다.
프로그래밍 검색 엔진을 시작하는 가장 쉬운 방법은 제어판을 사용하여 기본 검색엔진을 만드는 것입니다. 그런 다음 엔진의 XML 파일을 다운로드하고 수정하여 맞춤설정을 추가할 수 있습니다.
몇 가지 기본 개념을 실험하고 파악하는 중이므로 몇 분이면 첫 검색엔진을 만들 수 있습니다. 테스트를 시작할 때 발생하는 상황을 파악할 수 있도록 단순하게 유지하세요. 카테고리는 나중에 언제든지 변경할 수 있습니다.
제어판으로 프로그래밍 검색 엔진 정의
프로그래밍 검색 엔진을 만들려면 다음 단계를 따르세요.
- Google 계정을 사용하여 제어판에 로그인합니다 (계정이 없는 경우 계정을 생성).
- 검색엔진 이름 지정 섹션에서 검색엔진의 이름을 지정합니다. 이 이름은 언제든지 변경할 수 있습니다.
- 검색할 대상 섹션에서 검색엔진에 포함할 페이지를 추가합니다. 소유한 사이트뿐만 아니라 원하는 모든 사이트를 포함할 수 있습니다. 전체 사이트 URL 또는 개별 페이지 URL을 포함할 수 있습니다. URL 패턴을 사용할 수도 있습니다.
- 만들기를 클릭합니다.
기본 검색엔진을 사용할 준비가 되었습니다. 더 많은 구성 옵션을 보려면 제어판으로 이동합니다.
제어판에서 사용할 수 있는 옵션에 대해 자세히 알아보려면 프로그래밍 검색 엔진 고객센터를 방문하세요. XML 구성 파일을 통해 고급 옵션 (예: 필터링 또는 결과 순서)을 추가하고 검색엔진을 더 세부적으로 맞춤설정하려면 개발자 가이드를 참조하세요.
엔진 사용
검색엔진을 정의하고 나면 다음 두 가지 방법으로 액세스할 수 있습니다.
- Google에서 호스팅하는 프로그래밍 검색 엔진 홈페이지 - 개요 페이지의 기본 섹션에서 엔진 홈페이지의 공개 URL을 찾아 사용자와 공유할 수 있습니다.
- 웹사이트의 검색창 - 웹페이지에 검색창을 삽입하면 사용자가 웹사이트에서 검색할 수 있습니다.
다음...
검색창 구현으로 계속 진행합니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eProgrammable Search Engines can be created through a user-friendly Control Panel or by defining them within an XML file.\u003c/p\u003e\n"],["\u003cp\u003eThe Control Panel offers a simple way to build a basic search engine, allowing you to specify the name, website scope, and included pages.\u003c/p\u003e\n"],["\u003cp\u003eAfter creation, your search engine is accessible via a public URL or by embedding a search box directly into your website.\u003c/p\u003e\n"],["\u003cp\u003eFurther customization, such as filtering and result ordering, can be achieved by modifying the engine's XML configuration files.\u003c/p\u003e\n"]]],[],null,["# Creating a Programmable Search Engine\n\nThere are two ways of creating a Programmable Search Engine:\n\n- using the [Control Panel](https://programmablesearchengine.google.com/controlpanel/create)\n- creating an [XML file](/custom-search/docs/basics) with the definition of the engine\n\nThe easiest way to get started with Programmable Search Engine is to create a basic search engine using the [Control Panel](https://programmablesearchengine.google.com/controlpanel/create). You can then download the engine's XML files and modify them to add further customizations.\nSince you're experimenting and figuring out some basic concepts, spend only a couple of minutes making your first search engine. Keep it simple so that you can follow what's happening when you start testing it. You can always change it later.\n\nDefining a Programmable Search Engine in Control Panel\n------------------------------------------------------\n\nTo create a Programmable Search Engine:\n\n1. Sign into [Control Panel](https://programmablesearchengine.google.com/controlpanel/create) using your Google Account ([get an account](https://www.google.com/accounts/NewAccount) if you don't have one).\n2. In the **Name your search engine** section, specify your search engine's name. You can change this name at any time.\n3. In the **What to search?** section, add the pages you want to include in your search engine. You can include any sites you want, not just the sites you own. You can include whole site URLs or individual pages URLs. You can also use [URL patterns](https://support.google.com/programmable-search/answer/12397162).\n4. Click **Create**.\n\nYour basic search engine is ready to use! To see more configuration options, go to the [Control Panel](https://programmablesearchengine.google.com/controlpanel/all).\n\nTo learn more about options available in Control Panel, visit the [Programmable Search Engine Help Center](http://support.google.com/programmable-search/). To add advanced options (e.g. filtering or results order) and further customize your search engine via XML configuration files, see the [Developer Guide](/custom-search/docs/basics#steps).\n\nUsing the engine\n----------------\n\nOnce you have defined your search engine, it can be accessed in two ways:\n\n- Google-hosted Programmable Search Engine homepage - you can find the **Public URL** for your engine homepage in the **Overview** page's **Basic** section and share it with your users.\n- A search box in your website - If you embed a search box in your webpage, your users can make searches from your website.\n\nNext...\n-------\n\nContinue to [Implementing search box](/custom-search/docs/tutorial/implementingsearchbox)."]]