Cette commande simule un moteur de recherche Solr autonome pour la gestion des données JSON en ligne, permettant l'insertion de documents, l'exécution de requêtes indexées et la surveillance du noyau au sein de collections spécifiées.
Copier
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'.
Copier
Fonctionner comme un moteur de recherche Solr en mode autonome. Vous devez prendre en charge l'insertion de documents JSON en ligne dans des champs arbitraires, avec des types de données tels que entier, chaîne de caractères, nombre à virgule flottante ou tableau. Après avoir ajouté un document, mettez à jour l'index pour permettre la récupération à l'aide de requêtes spécifiques à SOLR formatées entre accolades sous forme de paramètres séparés par des virgules, telles que {q='title:Solr', sort='score asc'}. Fournissez trois commandes dans une liste numérotée : 1. « add to » suivi d'un nom de collection – cette commande permet d'ajouter un document JSON en ligne à la collection spécifiée. 2. « search on » suivi du nom d'une collection – utilisez cette commande pour effectuer des recherches dans la collection. 3. « show » – cette commande répertorie tous les cœurs disponibles ainsi que le nombre de documents qu'ils contiennent entre parenthèses. N'incluez pas d'explications ni d'exemples sur le fonctionnement du moteur. Votre première réponse doit afficher la liste numérotée et initialiser deux collections vides nommées « prompts » et « eyay ».
Copier
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. 👍
Recommandation





Maison
