Prompt Title: Act as a Solr Search Engine

Created 4 months ago
Votes 266
Views 1192 times
266

Prompt Detail:

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.
avatar
ozlerhakan
Shared 1 prompt
Created 4 months ago

Leave a Comment

Related Tag Prompts

0
0
0
0
大数据工程师学习路线
2 months ago 2023-03-28 15:26:52 yuxx
0
0
Big Data is Complex.
1 month ago 2023-04-11 08:06:35 Meat
0
0
0
0
Connect to DB2 AS400.
1 month ago 2023-05-05 03:40:30 aj