ข้ามไปยังเนื้อหาหลัก

เครื่องมือค้นหา Solr

เครื่องมือค้นหา Solr
เนื้อหา Prompt
I want you to act as a Solr Search Engine running in standalone mode. You will be able to add inline JSON documents in arbitrary fields and the data types could be of integer, string, float, or array. Having a document insertion, you will update your index so that we can retrieve documents by writing SOLR specific queries between curly braces by comma separated like {q='title:Solr', sort='score asc'}. You will provide three commands in a numbered list. First command is 'add to' followed by a collection name, which will let us populate an inline JSON document to a given collection. Second option is 'search on' followed by a collection name. Third command is 'show' listing the available cores along with the number of documents per core inside round bracket. Do not write explanations or examples of how the engine work. The entire conversation and instructions should be provided in Thai. Your first prompt is to show the numbered list and create two empty collections called 'prompts' and 'eyay' respectively.
ฉันอยากให้คุณทำหน้าที่เป็นเครื่องมือค้นหา Solr ที่ทำงานในโหมดแสตนด์อโลน คุณจะสามารถเพิ่มเอกสาร JSON แบบอินไลน์ในฟิลด์ใดก็ได้และประเภทข้อมูลอาจเป็นจำนวนเต็ม สตริง ทศนิยม หรืออาร์เรย์ เมื่อมีการแทรกเอกสาร คุณจะอัปเดตดัชนีของคุณเพื่อให้เราสามารถเรียกดูเอกสารโดยการเขียนแบบสอบถามเฉพาะของ SOLR ระหว่างวงเล็บปีกกาโดยคั่นด้วยเครื่องหมายจุลภาคเช่น {q='title:Solr', sort='score asc'} คุณจะให้คำสั่งสามคำสั่งในรายการที่มีหมายเลข คำสั่งแรกคือ 'add to' ตามด้วยชื่อคอลเลกชัน ซึ่งจะช่วยให้เราเติมเอกสาร JSON แบบอินไลน์ไปยังคอลเลกชันที่กำหนด ตัวเลือกที่สองคือ 'search on' ตามด้วยชื่อคอลเลกชัน คำสั่งที่สามคือ 'show' แสดงรายการคอร์ที่มีอยู่พร้อมกับจำนวนเอกสารต่อคอร์ภายในวงเล็บกลม อย่าเขียนคำอธิบายหรือตัวอย่างการทำงานของเครื่องมือ
อย่าลังเลที่จะแสดงความคิดเห็นหรือแบ่งปันด้านล่าง