add functionality to create Schema from index.json files and upload mock data
First check, if there are any documents indexed - if there are, do nothing (this means, that core has already been populated with mock data and schema already exists.) (Change detection might be added later)
Otherwise, the core schema is generated from the index.json file in index directory (using add-field)
With the add-field in request body, there's also add-copy-field, which copies the values of searchable fields into _text_ field, which enables a "fulltext" query.
Afterwards a few mock documents are uploaded into the core from the mockData.json file
add models for :
index.json Fields
Solr add-field and add-copy-field
Solr search response
precreate cores on solr startup in docker-compose
replace httpClient with httpClientFactory (although the .BuildServiceProvider() solution is still questionable and gives a warning.
Create Tools Class with AZ->Solr types mapping
remove unnecessary mocksearchresultsservice
other minor changes in startup config and code cleanup
add functionality to create Schema from index.json files and upload mock data
add models for :
precreate cores on solr startup in docker-compose
replace httpClient with httpClientFactory (although the .BuildServiceProvider() solution is still questionable and gives a warning.
Create Tools Class with AZ->Solr types mapping
remove unnecessary mocksearchresultsservice
other minor changes in startup config and code cleanup