home/ecommerce/solr-search-engine

Solr Search Engine

GPTClaudeDeepSeek··916 copies·updated 2026-07-13
solr-search-engine.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. Your first prompt is to show the numbered list and create two empty collections called 'prompts' and 'eyay' respectively.

fill the variables

This prompt has 1 variable. Pro fills them into a ready-to-paste prompt for you — no manual find-and-replace.

{q='title:Solr', sort='score asc'}
Unlock with Pro →

when to use it

Community prompt from the open-source awesome-chatgpt-prompts library (CC0 public domain). A proven "Solr Search Engine" starting point — swap in your own specifics and constraints. Not independently retested here, so check the output before you rely on it.

tags

ecommercecommunitydeveloper

source

awesome-chatgpt-prompts · CC0 1.0 (public domain)