I have a database filled with information about a bunch of different articles. I'm trying to add a search mechanisim to the site where you would type in what you are looking for, and it would search through the articles finding the most appropriate article. In my database I have a bunch of different fields that will help find the best article. For example, for each article, there is a title, description, category, a bunch of tags, Number of page views, number of votes, and the sum of all the vote scores. All this informaiton i believe can be used to gather the most relevent article based on the persons search terms. The problem is I don't know what to do with this information. What I would like to do is have a scoring system where the highest score is the first result and the lowest score is the last result. Where the first result is the most relevent.
So for example: The user types in "Korean War" it looks through all the articles, and gives all the articles with "Korean War" in the title + 1, all the tags with "Korean" or "War" + .1, then adds the number of views/1000, and then adds the average vote/4. (I just made that scoring system up on the spot, I would need to do some testing of course). Then it would sort the articles based upon the score it recieved. Is there anyway to do this with a select statement where I can run all of the calculations and then sort them with an "ORDER BY" command? Or would i have to have the server side code do the calculations store them in an array, and then sort them in the array? Or is there a better way of doing this that I might not know of (which is certainly possible).
Is there any good search tools for asp.net I can buy to carry out search indexes easily on data I have in my database?What I require is something that would carry out a general site search of articles but also faceted search as well. Faceted search is quite important feature.
Does Bing has an option similar to Google Custom Search or Yahoo where I can use Bing to power the search results on my site?
Works with an ASP.NET site (is a .NET project) Host the search box and results on my own website Ability to customize the look and feel of the results to match my site (Full control is ideal but I understand it's not possible with free solutions)
I did a search for Bing custom search and found this: [URL] but it's not exactly what I am looking for.
Developing a web site in .Net 4. Very close to being complete with most functionality, so I thought I would attack what seemed to be a tough one (something I have not done): site content search.
I've been digging around for an hour or so, and I'm a little perplexed. How do I perform content search on an ASP.net website?
A few things I'll throw out there before you answer with something I've already seen and cannot implement:
I am developing on a Win7x64 computer using VS2010 w/TFS.Site has been converted to .net 4, and is in C#.Will not have access to put site on Windows Server 2008 for another month, but would really like to implement search if at all possible beforehand.All that said, can I implement searching via indexing? I've looked at using Windows Search, but nothing looked like it worked right. This site will be served up on a Windows Web Server 2008. Do I need to somehow develop against a Server 2008 to implement search via indexing?
I am trying to implement search in our various ASP.NET websites that are all located on a particular web server that we control. The server is running IIS7 and Windows Server 2008 R2 32bit. I do NOT want to go third-party by using Google/Bing/etc APIs. I want to have an in-house solution for JUST our website directories (and not worry about searching through other documents elsewhere).
I have looked at Search Server 2010 Express, but that won't work because it is 1) 64bit, and 2) too much overhead for the tiny bit of websites we are wanting to search on. There is a 2008 Express edition that is x86 compatible, but I still think its way too much to install and run for what we are wanting to use it for.
I saw on the google when search "code project", some keywords and a text field and a button to search that google has generated for "code project" keyword also for "manchester university" in the same way.
How is it possible to show key words and text field/button for our website on google? As it shows for "code project" and "manchester university" etc.
visit google and search "manchester university" u'll see:
StudentNet Job Opportunities PostGraduate StaffNet etc.. and textfield/ and a button
I want this kind of result for my site from Google!!
Trying to figure out how to handle data returned for a site search from a description field. I don't think I want to display all the text from the description field, but I also don't want to "chop" a word in half. How do I get the first 100 characters, plus a few extra letters if needed to prevent a word from being chopped in half. In some cases, the description field is less than 100 characters, so all the text will be displayed. However, if the description does need to be chopped at 100, I'd like to finish the word and add ... to indicate that there is more text.
we deliver micro-site content for our client. Our content is injected into a wrapper that is supplied by another developer.
To deliver our content we host the wrapper as well as the content. The user can access this at
For the other content that is not ours, the other developer hosts a similar (though slightly different) wrapper and delivers the content. the user accesses this here:
The wrapper contains a search box, which does not work for us but it works for the other developer. I took a look at the network traffic with FireBug but it appears that when I do the search from the wrapper that we're hosting, I'm getting a "407 Proxy Access Denied" error. My guess is their proxy has a problem with the fact that the search is being conducted from a page hosted outside the scope of their proxy.
how could I include the functionlaity in my ASP.NET MVC site to allow users to search and download image from Google. Basically, I am planning to build the search interface where user can type image name and click search. It should then return the image set and user should be able to select any of them.
am newbie to asp.net 3.0 ,req: is like ...whn user enters id in the textbox,the query has to run against the sql server DB and has to generate the result inside a gridview with a chkbox field by default chked,now in the DAL layer ,is it better option to use datareader(think not,since it has to always maintain connection)..or webservice or WCF or are there any other simple optios available??
I want to give search functionality in grid view. To implement this i am following the below link [URL] but I am getting following error The name 'MSCD' does not exist in the current context Iam using the following code
I'm struck at editing the row which is displayed after search operation being performed. I've a table that has User_ID, Name, Status. I would like to bind data and display in gridview. I've implemented a search box to search fr the name and edit the status of the person. But if I'm trying to implement edit option on the searched entry it is not working as how I needed .