ln needs indexers. How do you route into the network? It uses Bitcoin script IN NETWORK conception of LN. Not as LN itself. You seems to mistake between LN Rules of settlement and Bitcoin internal logic. Bitcoin executes script without knowing if it’s LN or any other thing. Only ln clients are aware about this kind of transactions