Solved

Search (FAST?) won't work if user don't choose "All sites"

Posted on 2011-03-22
21
460 Views
Last Modified: 2012-05-11
I'm trying to get FAST Search Server to work with SharePoint Server 2010. I have no idea how well I'm doing since FAST really has no GUI, it seems, and just sits there. Perhaps I'm using Enterprise Search, who knows?

Anyhow, I been following "Deployment guide for FAST Search Server 2010 for SharePoint", after which I've been working several days with troubleshooting.

The most striking problem I'm having right now is that while people search works, site search usually doesn't. Right now, here's what happens:

If I search for a document I get no result (it doesn't matter if I search in the box on top site, or at the FAST template site); if I then click link "All sites", I find what I'm searching for instantly. (The document is in a library at top level.)

Looking around at logs in Central Administration and Event Viewer, indexing and everything seems to work; of course, the site collection I'm using for my tests is crawled.)

Why could this be, that I need to first search, and then click "All sites" to actually get the results?
0
Comment
Question by:Jack_A_Roe
  • 15
  • 6
21 Comments
 
LVL 14

Expert Comment

by:KoenVosters
ID: 35190391
Just for your information, people search actually does not make use of fast, that is why it is working. I'll try to duplicate your problem in the next few days. Do you have a single server farm or a mutliserver farm?

You can try to use this tool to identify where it is going wrong:
http://techmikael.blogspot.com/2011/02/fast-search-for-sharepoint-query-logger.html
0
 

Author Comment

by:Jack_A_Roe
ID: 35190649
Thank you very much! - As you can see from my post above, I have a feeling that FAST is not working properly, that that is the culprit. I'm troubleshooting that now explicitly so to speak, and I will make use of your link tomorrow (I need to quit for the day).

I have a multiserver farm, with one SharePoint Server 2010 Enterprise on a Windows Server 2008 R2, a FAST Search Server 2010 on another Windows Server 2008 R2, and a Microsoft SQL Server 2008.

Your intention to put an extra effort into this and get back to me is very much appreciated.
0
 

Author Comment

by:Jack_A_Roe
ID: 35197261
I have gone through the troubleshooting steps at technet.microsoft.com/en-us/library/ff393753.aspx, but that didn't help. The connections and certificates and services and so on seem to be set up alright.
0
 

Author Comment

by:Jack_A_Roe
ID: 35199200
I would also like to point out that crawling seems to work. The SSA I created, "FAST Query SSA" is crawling successfully regurarly. If I mark it and click "Manage", I have a link on the left side, "FAST Search Administration", which to me hint that this is in fact a successful FAST SSA, and wile I haven't fooled around with them, the links in FAST Search Administration seem live enough.

Also, running Get-FASTSearchContentCollection –Name “<NameOfContentCollection>” as per TechNet to verify FAST feeding, returns the following result:

Name          : sp
Created       :
Cleared       : 2011-03-15T10:32:18.0805241+01:00
LastInput     : 2011-03-23 15:51:30
DocumentCount : 59
Description   : Default collection for SharePoint content
Pipeline      : Office14 (webcluster)

This should indicate that my test document is fed to the database, and should be searchable. But of course, for some reason I'm not using FAST when searching in my site collection.

0
 
LVL 14

Expert Comment

by:KoenVosters
ID: 35199223
Just to be sure,  you created the two service applications for Fast?
0
 

Author Comment

by:Jack_A_Roe
ID: 35205460
Yes, I've followed MS whitepaper "Deployment guide for FAST Search Server 2010 for SharePoint" and ended up with service applications "FAST Query SSA" and "FASTContent" (names obviously unimportant in themselves, but they indicate function) and I haven't had any problem with neither, as far as I can see.

---

The only error I got in any log (Event Viewer Application and System) on SharePoint  or FAST is Event 22, Microsoft.ResourceManagement.ServiceHealthSource, which is created every startup of the SharePoint server:

Log Name:      Application
Source:        Microsoft.ResourceManagement.ServiceHealthSource
Date:          2011-03-15 15:47:25
Event ID:      22
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      [My SharePoint server]
Description:
The Forefront Identity Manager Service cannot connect to the SQL Database Server.

The SQL Server could not be contacted. The connection failure may be due to a network failure, firewall configuration error, or other connection issue. Additionally, the SQL Server connection information could be configured incorrectly.

Verify that the SQL Server is reachable from the Forefront Identity Manager Service computer. Ensure that SQL Server is running, that the network connection is active, and that the firewall is configured properly. Last, verify the connection information has been configured properly. This configuration is stored in the Windows Registry.

According to the MIIS client on the SharePoint server the profile synchronization works like a charm; I can work with my profiles in Central Administration also.
0
 

Author Comment

by:Jack_A_Roe
ID: 35205495
Your question regarding service applications might lead to something valuable. I have two, as I said, and I know one work ("FAST Query SSA"), but I'm not sure about the other ("FASTContent").

FAST Query SSA have a greyed out "Search Service Application Proxy" below it in the list of service applications; FASTContent do not. I don't know whether this is expected or not.

When I mark the FAST Query SSA and click "Manage", below Administration to the left, there's a link called "FAST Search Administration". FASTContent do not; whether this is expected I don't know.

FAST Query SSA crawl content alright, FASTContent can't. But then again, I don't know if FASTContent SSA should be able to crawl.

The slightest input, even question, is much appreciated.

0
 

Author Comment

by:Jack_A_Roe
ID: 35205548
(Regarding the Event Viewer post above, I also sometimes get a cryptic Error 53, SharePoint Server Search, "Could not create a database session.")
0
 
LVL 14

Expert Comment

by:KoenVosters
ID: 35205550
The application proxy is only with the query, that is normal behavior.

Are you saying that when you are clicking on the FAST Content that htere is no link to FAST Search Administration? It's on my machine (single sharepoint farm connected to a three-server FAST farm) The only difference I see with the two (not a fast specialist) is that there isn't a Queries and Results area in the FAST Content navigation (which is normal). Can you maybe post a screenshot of your FAST Content Management screen?
0
 

Author Comment

by:Jack_A_Roe
ID: 35205610
Are you saying that when you are clicking on the FAST Content that htere is no link to FAST Search Administration?
That's right, see the screenshot below, you asked for (there you can see that I've tried to use it for crawling during my troubleshooting):


FASTContent.png
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

Author Comment

by:Jack_A_Roe
ID: 35205666
Properties for the seemingly faulty SSA FASTContent is as follows:

Name: FASTContent
FAST Service Application: FAST Search Connector
Search Service Account: [My SP service account with all the privileges it can ask for - a result of my troubleshooting]
Application Pool for Search Admin Web Service: FAST_Content_App_Pool (Account: said service account)
Content distributors: [FQDN my FAST Search Server]:13391
Content Collection Name: sp

One thing I tried very early in this drawn out troubleshooting process, was to change the port of the Content Distributor above, to 13390 instead. This was because 1) that port is open in the FAST server (13391 is not according to Netstat), and 2) googling suggested that that might be the solution; however, it didn't change anything as far as I can remember, so I changed back.
0
 
LVL 14

Expert Comment

by:KoenVosters
ID: 35205687
Ok, I'll check back with you later tonight (at work now and don't have a server farm up here)
0
 

Author Comment

by:Jack_A_Roe
ID: 35205692
Thank you. Meanwhile I look around and if I find something interesting I'll post it.
0
 

Author Comment

by:Jack_A_Roe
ID: 35205722
Another thing I would be happy to compare to a successful FAST implementation is the "Search Application Topology"; from the beginning it has been bothering me that the FAST Search Server is not listed, only the SharePoint Server and the SQL Server. However in properties for the SAs, the FAST server is used as "Query Service Location", etc.
0
 

Author Comment

by:Jack_A_Roe
ID: 35206564
You can try to use this tool to identify where it is going wrong:
http://techmikael.blogspot.com/2011/02/fast-search-for-sharepoint-query-logger.html
At last I got around to try this, and was absolutely sure it would turn up nothing, but what do you know: The queries are sent to the FAST Server...!

QueryLogging.PNG
0
 

Author Comment

by:Jack_A_Roe
ID: 35206865
If I search in the little search box on the first page, the query goes to FAST Server where (in the FS4SP Query Logger) it is listed as "[key word] site:'http://[site]', but I do not find the document.

If I on the next page, where I'm redirected (OSSSearchResults), click the link "All Sites" -- I get the results: Both Superman.docx, and the document in which the key word "Superman" is written. However, that "All sites" search do not turn up in the Query Logger at the FAST server.
0
 
LVL 14

Expert Comment

by:KoenVosters
ID: 35206882
Did you disable the standard search service? IIRC from the FAST install you need to disable the standard search.
0
 

Author Comment

by:Jack_A_Roe
ID: 35207099
"Search Service Application" is running.

I too had a vague memory that it it should not, but since I didn't find a way to disable it, I assumed it must be running. -- After reading your post I've looked for a way to disable it once again, but I really can't find a way to do it, silly enough.

Could you help me out on this detail?
0
 

Author Comment

by:Jack_A_Roe
ID: 35207546
I just made quite a discovery; when I search I actually get results not only from the profile store, but also *from a deleted* web application; the first web application I created, (A), but which I for different reasons got rid of. So when I search from (B) for something that's stored in (B) I get nothing, but when I search for something that's stored in (A), I get the hits. This is searching from the FAST Search web site template.
0
 

Author Comment

by:Jack_A_Roe
ID: 35213501
Did you disable the standard search service? IIRC from the FAST install you need to disable the standard search.
While I can't disable that service from Central Administration (to the best of my knowledge), in Configure Service Application Association, it is not selected, only FAST Query SSA.
0
 
LVL 14

Accepted Solution

by:
KoenVosters earned 500 total points
ID: 35213580
If you get results from a deleted web application it means no new crawl has started. This makes me believe that you have a problem with your crawling and not with your query.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Last week I faced a strange issue recently, i have deployed SharePoint 2003 servers for one project and one of the requirements was to open SharePoint site from same server. when i was trying to open site from the same server i was getting authentic…
I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
This video discusses moving either the default database or any database to a new volume.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now