treygrainger / ai-powered-search

The codebase for the book "AI-Powered Search" (Manning Publications, 2024)
https://aipoweredsearch.com
178 stars 43 forks source link

Indexing errors in `ch10/1.setup-the-movie-db.ipynb`, `ch11/0.setup.ipynb`, `ch12/0.setup.ipynb` #120

Closed alexott closed 2 months ago

alexott commented 9 months ago

We need to add a warning that this is normal...

Wiping 'tmdb' collection
[('action', 'CREATE'), ('name', 'tmdb'), ('numShards', 1), ('replicationFactor', 1)]
Creating 'tmdb' collection
Status: Success
Del/Adding LTR QParser for tmdb collection
<Response [400]>
Status: Failure; Response:[ {'responseHeader': {'status': 400, 'QTime': 1}, 'errorMessages': ["error processing commands, errors: [{delete-queryparser=ltr, errorMessages=[NO such queryParser 'ltr' ]}], \n"], 'WARNING': 'This response format is experimental.  It is likely to change in the future.', 'error': {'metadata': ['error-class', 'org.apache.solr.api.ApiBag$ExceptionWithErrObject', 'root-error-class', 'org.apache.solr.api.ApiBag$ExceptionWithErrObject'], 'details': [{'delete-queryparser': 'ltr', 'errorMessages': ["NO such queryParser 'ltr' "]}], 'msg': "error processing commands, errors: [{delete-queryparser=ltr, errorMessages=[NO such queryParser 'ltr' ]}], ", 'code': 400}} ]
Status: Success
Adding LTR Doc Transformer for tmdb collection
Status: Failure; Response:[ {'responseHeader': {'status': 400, 'QTime': 1}, 'errorMessages': ["error processing commands, errors: [{delete-transformer=features, errorMessages=[NO such transformer 'features' ]}], \n"], 'WARNING': 'This response format is experimental.  It is likely to change in the future.', 'error': {'metadata': ['error-class', 'org.apache.solr.api.ApiBag$ExceptionWithErrObject', 'root-error-class', 'org.apache.solr.api.ApiBag$ExceptionWithErrObject'], 'details': [{'delete-transformer': 'features', 'errorMessages': ["NO such transformer 'features' "]}], 'msg': "error processing commands, errors: [{delete-transformer=features, errorMessages=[NO such transformer 'features' ]}], ", 'code': 400}} ]
KosmikCamel commented 2 months ago

These errors are generated from idempotent creation and configuration of the index and are not an issue. These two errors are from trying to delete components of an configured index and are no longer be displayed.