Project:DebuggingIndexing: Difference between revisions
From MaRDI portal
Created page with " Cirrus Search: https://www.mediawiki.org/wiki/Extension:CirrusSearch Elastic Search: https://www.elastic.co/de/elasticsearch * Start with using Portainer: https://portainer.portal.mardi4nfdi.de/ * Go to container overview: https://portainer.portal.mardi4nfdi.de/#!/2/docker/containers -> Check out logs at the ElasticSearch container * Get info about Elastic Searvh service status: ** Go to Portainer->ElasticSearch Docker->Console and execute: curl -X GET "localhost:920..." |
No edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
* Start with using Portainer: https://portainer.portal.mardi4nfdi.de/ | * Start with using Portainer: https://portainer.portal.mardi4nfdi.de/ | ||
* Go to container overview: https://portainer.portal.mardi4nfdi.de/#!/2/docker/containers | * Go to container overview: https://portainer.portal.mardi4nfdi.de/#!/2/docker/containers | ||
-> Check out logs at the ElasticSearch container | -> Check out logs at the ElasticSearch container | ||
* Get info about Elastic Searvh service status: | * Get info about Elastic Searvh service status: | ||
** Go to Portainer->ElasticSearch Docker->Console and execute: curl -X GET "localhost:9200/_cluster/health?pretty" | ** Go to Portainer->ElasticSearch Docker->Console and execute: curl -X GET "localhost:9200/_cluster/health?pretty" | ||
** Get name of indices: curl -X GET "localhost:9200/_cat/indices?v&pretty" | |||
** Get status of specific index: curl -X GET "localhost:9200/your_index_name/_stats?pretty" | |||
*** curl -X GET "localhost:9200/my_wiki_content_1703080692/_stats?pretty" | |||
Container mardi-wikibase should have cirrussearch | |||
-> open console and exec "/var/www/html/maintenance/run showJobs --group" | |||
=== Links === | |||
* https://portal.mardi4nfdi.de/w/index.php?title=Special:Search&cirrusDumpResult=&cirrusExplain=&search=conrad | |||
=== Test 1 === | |||
* Take a publication entry: https://portal.mardi4nfdi.de/wiki/Publication:482724 | |||
* Edit the page manually, e.g. adding "abc132" to it. | |||
* Check the entry in Elastic Search: curl -X GET "localhost:9200/my_wiki_content_1703080692/_doc/8666459" | |||
* Changes show up | |||
* Search for abc123 in Wiki -> finds edited page | |||
* Undo changes | |||
=== Test 2 === | |||
* Take a person entry: https://portal.mardi4nfdi.de/wiki/Person:482723 | |||
* Search for person's name ("Tim Conrad") on Wiki - person page NOT found. | |||
* Edit the page manually, e.g. adding "abc123" to it. | |||
* Check the entry in Elastic Search: curl -X GET "localhost:9200/my_wiki_content_1703080692/_doc/4996820" | |||
* Changes show up | |||
* Search for abc123 in Wiki -> finds edited page | |||
* Undo changes | |||
* Search for person's name ("Tim Conrad") on Wiki - person page IS found. |
Latest revision as of 23:24, 12 February 2024
Cirrus Search: https://www.mediawiki.org/wiki/Extension:CirrusSearch
Elastic Search: https://www.elastic.co/de/elasticsearch
- Start with using Portainer: https://portainer.portal.mardi4nfdi.de/
- Go to container overview: https://portainer.portal.mardi4nfdi.de/#!/2/docker/containers
-> Check out logs at the ElasticSearch container
- Get info about Elastic Searvh service status:
- Go to Portainer->ElasticSearch Docker->Console and execute: curl -X GET "localhost:9200/_cluster/health?pretty"
- Get name of indices: curl -X GET "localhost:9200/_cat/indices?v&pretty"
- Get status of specific index: curl -X GET "localhost:9200/your_index_name/_stats?pretty"
- curl -X GET "localhost:9200/my_wiki_content_1703080692/_stats?pretty"
Container mardi-wikibase should have cirrussearch
-> open console and exec "/var/www/html/maintenance/run showJobs --group"
Links
Test 1
- Take a publication entry: https://portal.mardi4nfdi.de/wiki/Publication:482724
- Edit the page manually, e.g. adding "abc132" to it.
- Check the entry in Elastic Search: curl -X GET "localhost:9200/my_wiki_content_1703080692/_doc/8666459"
- Changes show up
- Search for abc123 in Wiki -> finds edited page
- Undo changes
Test 2
- Take a person entry: https://portal.mardi4nfdi.de/wiki/Person:482723
- Search for person's name ("Tim Conrad") on Wiki - person page NOT found.
- Edit the page manually, e.g. adding "abc123" to it.
- Check the entry in Elastic Search: curl -X GET "localhost:9200/my_wiki_content_1703080692/_doc/4996820"
- Changes show up
- Search for abc123 in Wiki -> finds edited page
- Undo changes
- Search for person's name ("Tim Conrad") on Wiki - person page IS found.