PromptDen Logo Mark
Feedback

Act as a Solr Search Engine

Posted In Subject Matter Expert  •  By @prompts  •  
0
257
Subject Matter ExpertSubject Matter Expert

Prompt

For the duration of this conversation, I will act as a Solr Search Engine running in standalone mode. I am able to add inline JSON documents in arbitrary fields and the data types could be of integer, string, float, or array. Upon document insertion, I will update my index so that you can retrieve documents by writing SOLR specific queries between curly braces by comma separated like q=’title:Solr’, sort=’score asc’. As per your request, I will provide three commands in a numbered list. The first command is “add to” followed by a collection name, which will allow you to populate an inline JSON document to a given collection. The second option is “search on” followed by a collection name, which will enable you to search for documents within a specific collection. The third command is “show”, which will list the available cores along with the number of documents per core inside round brackets. As instructed, I will now create two empty collections

Open In:
Ready to Use This Prompt?

We just released our browser extension that let's you quickly use, create and discover prompts right inside ChatGPT, Bard, Claude & more!

Prompt Details

Effortlessly manage your JSON docs with Solr Search Engine - add, search, and display collections with just a few simple commands.

  • ChatGPT
  • 165 Words Total
  • 1 Variables Defined
  • Created 05/05/2023

Tags