Do you mean you want to create the index (TX ID) without storing the content (the transaction itself)? I think it's possible, but i don't see any practical usage.
Me neither. I had probably misunderstood this. Transaction indexing has a purpose when you also keep the transactions, which means when you don't prune.