RowLimit in FAST KeywordQuery

Posted by Sveta Yerpilev on December 16th, 2011 in SharePoint 2010

Tags: , , , ,

Sometimes when you are using a KeywordQuery object to perform a search and your Search Service Application is FAST Search Server for SharePoint you can see this message instead of your result:
“The search request was unable to execute on FAST Search Server.”
In my case I tried to set KeywordQuery.RowLimit property to get more results and my query had been looking like this: or ((lastname:”jonh*”),(firstname:”jonh*”))
I this case it failed to execute the query. But when I use “starts-with” instead of * symbol everything works perfectly. So I just rewrote my query to be like this:
or ((lastname:starts-with(“jonh”)),(firstname: starts-with(“jonh”)))
And it works perfect.

If you still have an error when you try to execute a query try to set your RowLimit to 100 or 200. I found out that in some cases if there are too many results for the query FAST will stop the execution with error. Try to set minimal row limit and check again.

I hope it will help somebody.

FAST Search Managed Properties

Posted by Sveta Yerpilev on November 23rd, 2011 in SharePoint 2010

If you are using FAST Search for SharePoint you sometimes need to create a new managed property to be able to search in it.

I don’t want to write here how to do it –there are many great articles about this.

If you are looking for guide like that you can use these two really great posts:

 

I just want to put your attention to one little but very confusing thing:
Read the rest of this entry »

How to get Common Manager personal data – InfoPath2010

Posted by Sveta Yerpilev on July 29th, 2011 in InfoPath Forms

getCommonManager web service helps you to find the user common manager name but won’t allow you retrieve any personal information fields.

For this task we need to use another web service: getUserProfileByName.

We need to query this web service with manager AcountName to get the data. Sounds simple? It is!

Here is a step-by-step guide to help you through it:

Read the rest of this entry »