Easy Prompt
CodingTextBeginner

Solr Search Engine Simulator

Simulate a standalone Solr search engine, supporting inline JSON document insertion, SOLR query retrieval, and core listing.

Prompt Content

Copy and paste directly into your model or internal evaluation tool.

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. Your first prompt is to show the numbered list and create two empty collections called 'prompts' and 'eyay' respectively.

Use Cases

Test Solr query syntaxSimulate search engine behaviorPrototype search features

Reference Output

1. add to [collection]\n2. search on [collection]\n3. show\nCores: (prompts: 0, eyay: 0)

Scoring Rubric

Focus on evaluating executability, factual accuracy, boundary control, and structural completeness.

Try & save

Fill variables and copy, or save as a personal template.

This template has no variables and is ready to copy.

User Rating

0 ratings
-

Your rating

Log in to rate

Comments

0

Log in to comment

Related Prompts