rohit
November 20, 2015, 7:19pm
1
I have an external site by the name “Test Site (English)”. Now when i run the following query in relevance debugger
exists bes site whose (name of it = "Test Site (English)")
It returns false even though the site exists. And when i create a site “Test Site English” and run query as
exists bes site whose (name of it = "Test Site (English)")
it works and returns true. Is there any restrictions on the site names? if not there why this doesnt work as expected?
rohit
November 20, 2015, 11:50pm
3
Ahh Thanks a ton. Indeed the 2nd point was the issue. It works fine when i use display name of it
So this site name (not the display name) cannot be viewed from the console? I could find it out using session relevance but I was curious where it is set.
1 Like
jgstew
November 22, 2015, 8:32am
4
This is the first thing I would try:
names of bes sites
Then see how it shows up in that list, then go from there.
names of bes sites whose( name of it contains "Test Site" )
Only after you get things working this way should you then check for existence:
exists bes sites whose( name of it contains "Test Site" )