บทนำ
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ยินดีต้อนรับ บทแนะนำนี้จะช่วยให้คุณสร้างการค้นหาที่กำหนดเองได้ในไม่กี่นาที บทแนะนำนี้จะอธิบายถึงวิธีใช้ Programmable Search Engine แบบง่ายโดยใช้วิดเจ็ต JavaScript ที่กำหนดไว้ล่วงหน้า สำหรับการควบคุมผลการค้นหาแบบละเอียด โปรดดู JSON และ XML API ในคู่มือนักพัฒนาซอฟต์แวร์
ในบทแนะนำนี้ คุณจะได้เรียนรู้วิธีการต่อไปนี้
- สร้าง Programmable Search Engine ที่เรียบง่าย
- ใช้ช่องค้นหาในหน้าเว็บของคุณ
- เพิ่มฟีเจอร์ในช่องค้นหา
- ปรับแต่งรูปลักษณ์และความรู้สึกของผลการค้นหา
เมื่อจบบทแนะนำ คุณจะได้ใช้ฟีเจอร์การค้นหาบนเว็บไซต์โดยค้นหาชุดเว็บไซต์ที่กำหนดไว้ล่วงหน้าโดยใช้ Programmable Search Engine เวอร์ชันฟรี
ถัดไป...
ในการเริ่มต้นใช้งาน คุณต้องสร้างอินสแตนซ์ของ Programmable Search Engine
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eThis tutorial provides a step-by-step guide to implementing a basic Programmable Search Engine using a pre-built JavaScript widget.\u003c/p\u003e\n"],["\u003cp\u003eYou will learn how to build a search engine, integrate it into your webpage, enhance its functionality, and customize its appearance.\u003c/p\u003e\n"],["\u003cp\u003eUpon completion, you will have a functional search feature on your website, searching across a predefined set of websites using the free version of Programmable Search Engine.\u003c/p\u003e\n"],["\u003cp\u003eFor advanced customization and control over search results, refer to the JSON and XML API documentation in the Developer Guide.\u003c/p\u003e\n"]]],[],null,["# Introduction\n\nWelcome! This tutorial will help you create a customized search in just a few\nminutes. This tutorial explains how to implement a simple Programmable Search Engine\nusing a predefined javascript widget. For more fine-grained control over search\nresults, see JSON and XML API in the\n[Developer Guide](/custom-search/v1/overview).\n\nIn this tutorial, you will learn how to:\n\n- build a simple Programmable Search Engine\n- implement a search box on your page\n- add features to the search box\n- customize the look and feel of your search results\n\nBy the end of the tutorial, you will have implemented a search feature on a website, searching a predefined set of sites, using the free version of Programmable Search Engine.\n\nNext...\n-------\n\nTo get started, you need to [create an instance of a Programmable Search Engine](/custom-search/docs/tutorial/creatingcse)."]]