.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Keyword Search [me] ?

Posted By:      Posted Date: October 05, 2010    Points: 0   Category :SharePoint

When performing a Keyword Query - in this instance within a Core Results Web Part Fixed Keyword Query - how to specify the current user?

e.g.  rather than


how can you achieve the equivalent of:


Of course I could create a Web part and inherit the from CoreResultsWebPart, but I'm surprised this isn't possible natively?


View Complete Post

More Related Resource Links

MS SQL Server: Search All Tables, Columns & Rows For Data or Keyword Query

If you need to search your entire database for specific data, this query will come in handy.

So when a client needs a custom report or some sort of custom development using Great Plains, most of the time I will have to track down the data in the system by running this query and find the table(s) it is in.

search textbox with search keyword inside?



how to make a search txtbox that includes the search keyword and when the user clicks the search keyword disappears

thanks for the help

How do I search for part of a keyword?


I am using the sharepoint search and I am not able to search for a part of the keyword.
EX: Word in database - Sample
Search keyword "sam" should return all the documents which have this word in them like "Sample".

But this is not happening. Could you please let me know with some example code for this?

I even saw http://msdn.microsoft.com/en-us/library/ms467796.aspx
for the prefix and nothing much info present.


keyword search doesn't return any results



Can anybody please help me with the whole issue of keywords definition?

Here is what I've got and do:

Sharepoint 2010 server and FAST Search server for Sharepoint 2010

I create site collection "A" using FAST Search center template

I enable SharePoint Server Enterprise Site Collection Features

In FAST Search Keywords section I define a keyword "M

keyword search - anyone got code or know where I can find it, tips ?


I need to search some records for one or more keywords ( user entered) and then display them in order of matching i.e. at the top all 3 keywords, at the bottom, just one keyword found.

Before I do this.... has anyone done it before ?

I was going to go through each sql record and search for the words, presume that best way ?

Weighted Keyword Search


 Hi All,

I am searching for products out of my database:
AND (CONTAINS(P.name, @contains_key) OR CONTAINS(P.description, @contains_key)

Storing search keyword in Session variable


Hello gurus,

I have heard alot about sql injection and how it is normally caused. Mostly sql injection in my opinion is caused through search boxes. Now my question is quite simple. Is it advisable to store the search keyword in a session variable to prevent sql injection? I don't want to expose the keyword through the querystring as it is prone to attacks. So in short there is no harm in using session variables to store the keyword right?


Writing a keyword query for Filtering the search items


I am trying to search only the documents created by a an author. Below is the code that i am trying to use for keyword query but i am not getting any results at all.

string strQuery = "contentclass:" + "STS_ListItem_DocumentLibrary" + "author:" + strQueryText

Can anyone help me out here please.


Increase Maximum Keyword limit for Search ?


Quick question. We are using Sharepoint server 2010 Standard edition for our Farm. We have over 6780 keywords defined. We need to add these keywords for our search.

Since there is a limit for 200 per site collection as stated here http://technet.microsoft.com/en-us/library/cc262787.aspx, the article says that we can increase the maximum limit of 5000 keywords per site collection to any number we want. But it doenst say how ?

The article only says to increase the limit by editing web.config and client.config, does anyone know where do we see these files ? i have searched all Layouts folders and found nothing in those web.config and client.config matching to "MaxObjectsInGraph".

This is a very critical issue for our production environment. Any help is very much appreciated.



Moss Simple Search not searching new items in list until keyword is "propertyName:Keyword" i.e Custo



Problem : Simple search not showing the new items created in list. It shows the new items if searched with keyword as  "propertyName:Keyword" i.e CustomeName:John

There is a metadata property "CustomerName", which is mapped to a custom column(Customer Name) in a sharepoint list as ows_CustomerName(Text). Also there is a scope(Customers) created which has folder set to URL of the sharepoint site containing this list.

The items are indexed for sure as they are searchable if simple search keyword is  "propertyName:Keyword" i.e CustomeName:"John Smith" . But not searchable if the keyword is John Smith

Is there anything missing??

SharePoint Gets Search Analytics

Microsoft's SharePoint Portal Server 2003 was sold into a large number of organizations based solely on the strength of the search tool. Organizations hungered for a way to find the data they had generated.

Using SharePoint Search feature in ASP.Net Application

Integrating ASP.Net application in to MOSS 2007 to utilize SharePoint Enterprise Search Feature can be done by using Business Data Search.

Get more then google search from here

Just make it home page and enjoy more then google search you not only get google result and prizes for searching but also free ebooks and link from here like orkut,facebook,twitter,yahoomail etc...


Adding Search Refinements in SharePoint 2010

I have been playing around with SharePoint 2010 Search this morning. I love the new UI. The search refinements panel is just begging to be messed with. In my case I wanted to add the file extension JPG as an Image Type refiner.

Search Engines and Multilanguage Websites - using .resx


I have a website (asp.net 3.5+c# +linq ) having thopition to change languages (2) by the user, Am using the search engine like in the example of:


this search will find any searched word in all the pages and return the link in the default language of the site, but problem for the second language , because by default the site language is English and the user have the option to change to other language.

and as I understood that the .resx files can not be searched like the aspx by the search engines.

I looked in many blogs and discussion boards for similar  case but unfortunately no clues on this issue .
The only same case posted :


and also I could not find any clue to move on, 

 Kindly requsted to guide me for the soultio

Thanks for your time and wish you all the best
your help is always appreciated


how to make a dropdownlist looks like google search box


dear all...

any idea how to do that ?

Thnx in advance

Membership Search user


Is there a membership function to search a username Like this:   LIKE '%UserName%' ?

This is not working.

MembershipUser User = Membership.GetUser("%" + TextBox1.Text + "%");

Thank you.

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend