การใช้โอเปอเรเตอร์ AND
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
คุณค้นหาหลายคำได้โดยใช้ตัวดำเนินการ AND
โอเปอเรเตอร์นี้จะแสดงผลลัพธ์เมื่อคำทางด้านซ้ายและด้านขวาของโอเปอเรเตอร์เป็นจริงเท่านั้น
การค้นหาหลายคำจะใช้ AND
โดยนัย ตัวอย่างเช่น การค้นหาต่อไปนี้
จะแสดงไฟล์ Python ที่มีคำว่า server
server lang:python
หรือจะระบุโอเปอเรเตอร์ AND อย่างชัดเจนก็ได้ เช่น
server AND lang:python
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eMultiple terms in a search are implicitly linked by \u003ccode\u003eAND\u003c/code\u003e, meaning results must contain all terms.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAND\u003c/code\u003e can be explicitly used for clarity but functions identically to implicit multiple term searches.\u003c/p\u003e\n"],["\u003cp\u003eSearches can use operators like \u003ccode\u003elang:\u003c/code\u003e to refine results based on specific criteria such as programming language.\u003c/p\u003e\n"]]],[],null,["You can search for multiple terms by using the [`AND`](../reference#operators)\noperator. This operator returns results only when the terms on both sides of the\noperator are true.\n\nA search for multiple terms uses `AND` implicitly. For example, the following\nsearch returns Python files that contain the term `server`: \n\n server lang:python\n\nAlternatively, you can supply the AND operator explicitly. For example: \n\n server AND lang:python"]]