This is a bad notation: a summation expresssion should either involve one or more relations that the summation index has to satisfy, or specify the lower and upper bound of summation over a contiguous interval, according to the format $\sum_{i=a}^b\ldots$, but the two cannot be mixed; notably if the relation $i<j$ is used below, there is no possible interpretation for the $N$ above as upper bound of an interval.
Even without the misplaced upper $N$, the notation could mean two different things, depending on the context. As you wrote it neither $i$ nor $j$ seem to have been introduced, and this might suggest that both are to be varied in the summation. However it is far more common to use a single relation only to introduce a single index of summation, necessarily the first one mentioned (here $i$, rather than $j$). Then the summation would only be over $i$, from some unspecified lower bound (presumably$~1$, but it could be$~0$ in certain contexts) up to $j-1$, where the value of $j$ is assumed to be already fixed at that point.
Assuming that the former interpretation was meant (double summation) it would be much better to write it as
$$
\sum_{j=1}^N \sum_{i<j} d_{i,j},
$$
which makes the double summation obvious; the possibility of this better alternative makes it unlikely to me that the former interpretation was actually meant. The latter interpretation mainly suffers from the impossibility to give any meaning to the upper bound $N$ (since $i$ is already bounded by $j$); nevertheless it would be my bet that this was the intended interpretation.
I'll finish with one more alternative for the double sum expression (the sum of all distances between unordered pairs of distinct points):
$$
\sum_{1\leq i<j\leq N} d_{i,j};
$$
here the double-sum aspect of the notation is suggested by the presence of more than one relation (in fact three) in the expression under the summation sign.