1. Stop System - esadmin system stopall
2. Start System - esadmin system startall.
3. Stop CCL : stopccl (If server is running, executing stopccl kills all processes i.e. crawler, indexer, search)
4. Start CCL: startccl
5. Check the running status of components: esadmin check, esadmin checkall
6. Stop a specific crawler - esadmin <crawler id> stop
7. Get index status - Esadmin <collection id>.indexservice getIndexBuildStatus, Esadmin <cid>.indexservice getIndexBuildStatusDetail
8. Sync configuration files if changed manually - esadmin config sync
9. Get memory status of specific searcher - esadmin <Collection id>.searcher.node2 getMemStatus
10. Get memory status of search server - esadmin searchapp.node2 getMemStatus
esadmin
searchserver.node2.getMemStatus
11. Troubleshoot index -
Dump index of a collection
DumpIndex.sh
<Collection ID > > file name.txt
Dump Index based on crawler id
DumpIndex.sh <Collection ID> --if-crawler 'Crawler ID' >
FIle name.txt
DumpIndex.sh <Collection ID> --uri --fields --security --code --if-crawler 'Crawler ID' > FIle name.txt
--uri : writes document uri
--security: writes security token
--code: writes index code. if code is 200, it index successfully and searchable by user.
--fields: writes custom metadata
--help: shows help document of command
--indexeddate: shows last index date
Dump index token
DumpIndex.sh <Collection ID> --uri --indextokens
--fields --if-id <Document ID> > filename.txt
* Document id can be found after dumping index.
Feel free to contact to know about more command. Happy learning.
This is just perfect! Thanks for sharing.
ReplyDeleteTHANKS
ReplyDelete