I am looking at the answer on this thread: Why likelihood is not always a density function?
Here as I understand that the likelihood function is given by:
$$ L(\theta) = \frac{1}{\theta} \quad \mathrm{in\ range}\ [0, \theta] $$
First, I am confused by the notation in the reply in the thread I posted. So the likelihood is defined as $U(0, \theta)$. I am confused as to why the parameter $\theta$ appears in the support of the uniform distribution. Should the support not be just constants like $U(0, +\infty)$?
[EDIT]: As pointed out below $U(0, +\infty)$ is not possible but I was still expecting something like $U(0, 1)$ for standard uniform distribution or something of the form $U(a, b)$. In any setting, $\theta$ is unknown so how can it be the parameter of the uniform distribution?
Second, when we observe $Y=1$, why does the likelihood become
$$ L(\theta) = \frac{1}{\theta} \quad \mathrm{for}\ \theta > 1 $$
Why now $\theta > 1$ instead of $\theta > 0$