Perfomance issue with N1QL self join

My server is Version: 4.1.0-5005 Enterprise Edition (build-5005)
when I do ‘top’ I could see indexer is always running consuming 100% of cpu ? why is it so.