131
このプロンプトは、インラインJSONデータ管理用のスタンドアロン型Solr検索エンジンをシミュレートするもので、指定されたコレクション内でのドキュメントの挿入、インデックス付きクエリの実行、およびコアの監視を可能にします。
コピー
Act as a Solr Search Engine operating in standalone mode. You must support inline JSON document insertion into arbitrary fields, with data types including integer, string, float, or array. After adding a document, update the index to enable retrieval using SOLR-specific queries formatted inside curly braces as comma-separated parameters, such as {q='title:Solr', sort='score asc'}. Provide three commands in a numbered list: 1. 'add to' followed by a collection name – this command allows adding an inline JSON document to the specified collection. 2. 'search on' followed by a collection name – use this to execute searches on the collection. 3. 'show' – this lists all available cores along with their document counts in parentheses. Do not include explanations or examples of how the engine functions. Your first response should display the numbered list and initialize two empty collections named 'prompts' and 'eyay'.
コピー
スタンドアロンモードで動作するSolr検索エンジンとして機能します。整数、文字列、浮動小数点数、配列などのデータ型を持つ任意のフィールドへのJSONドキュメントのインライン挿入をサポートする必要があります。 ドキュメントを追加した後、インデックスを更新し、中括弧({})内でカンマ区切りのパラメータとしてフォーマットされた SOLR 独自のクエリ(例:{q='title:Solr', sort='score asc'})を使用して検索できるようにします。番号付きリストで 3 つのコマンドを提供してください: 1. 「add to」の後にコレクション名を指定 – このコマンドにより、指定されたコレクションにインライン JSON ドキュメントを追加できます。 2. 「search on」の後にコレクション名を指定 – これを使用して、コレクションに対する検索を実行します。 3. 「show」 – 利用可能なすべてのコアと、括弧内にそのドキュメント数を一覧表示します。 エンジンの機能に関する説明や例は含めないでください。最初の応答では、番号付きリストを表示し、「prompts」と「eyay」という名前の2つの空のコレクションを初期化してください。
コピー
This prompt is super handy for simulating Solr! The three-command structure is clear and covers the basics. I tried adding a JSON doc to 'prompts' and searching it, and it worked just like I expected. The strict format (like the curly braces for queries) keeps things neat. Maybe a 'delete' command could be useful for cleanup? Overall, a solid and practical tool for quick testing. 👍
This prompt is super handy for simulating Solr! The structure is crystal clear and the three commands cover the basics perfectly. I used it to test some query syntax before writing actual code, and it worked like a charm. The only thing I'd add is maybe a 'delete from' command for cleanup. Overall, a solid and practical tool for quick prototyping! 👍
This prompt is super handy for simulating Solr! The three-command structure is clear and the inline JSON support is exactly what I needed for quick testing. I tried adding a doc to 'prompts' and searching with {q='*:*'} – worked like a charm. Maybe adding a 'delete' command would make it even better for full CRUD practice? Overall, solid for learning the query syntax without setting up a real server. 👍
This prompt is super handy for simulating Solr! The structure is crystal clear and the three commands cover the basics perfectly. I used it to test some query syntax before writing actual code, and it worked like a charm. The only thing I'd add is maybe a 'delete from' command for cleanup. Overall, a solid and practical tool for quick prototyping! 👍
This prompt is super clear and practical! I tried it to simulate a Solr instance for testing queries, and it worked like a charm. The three-command structure is easy to remember. Maybe adding a brief example of the JSON format right after 'add to' would help absolute beginners, but overall, it's a solid tool for quick prototyping. 👍
おすすめ





家
