Smart Search works only for logded in users

Mateusz Żebrowski asked on February 20, 2015 14:34

My smart search works only for logged users. What should I do to make it works for all users?

Recent Answers


Brenden Kehren answered on February 20, 2015 14:36

Check the permissions on the page you have your smart search webpart on.

0 votesVote for this answer Mark as a Correct answer

Mateusz Żebrowski answered on February 20, 2015 14:57

It's root element on CMS tree. I have smart search on master page. Besides by permissions on the page you mean security tab in document properties right? How it should be configure?

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on February 20, 2015 17:16

Yes. When you say it only works for logged in users, do you mean the results page or just the search box in general? If your root document is set to have permissions set to be authenticated, then the search will only work for authenticated users. The search index itself doesn't have permissions set on it so it's not specifically a search issue, it has to be more related to configuration of the page, template or webpart.

0 votesVote for this answer Mark as a Correct answer

Mateusz Żebrowski answered on February 20, 2015 20:54

Well I can enter value to the textbox but after click "search" button there is no respone, nothing happens. The root page don't have permissions set to be athenticated.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on February 21, 2015 06:32

Ok then its probably not a permissions issue. Seems like a webpart settings issue or a Smart Search index issue. Have you checked to see if your smart search index has properly built?

0 votesVote for this answer Mark as a Correct answer

Mateusz Żebrowski answered on February 21, 2015 21:58

What do you mean properly bulit. It has status ready and it's optimalized.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on February 22, 2015 06:14

Just because it's ready and optimized, doesn't mean it has any actual data in it. Have you tried the search results within the index? Are the proper classes included/excluded? Have you tried deleting that index and recreating it? I had one instance I spent a few hours on an index when it should have taken minutes and it was a permissions issue in the App_Data directory.

0 votesVote for this answer Mark as a Correct answer

Mateusz Żebrowski answered on February 23, 2015 11:11

I've found what was wrong. On Master Page tab you can edit head section. It is strange but if you add some scripts there the search start to behave like I wrote above. Do you know why is that so?

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on February 25, 2015 09:52

jQuery or other js conflicts/errors I'm guessing. The search has some predictive search options, I'd suggest turning them off in the webpart.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.