search

Is a Binary Tree Contained Within Another Binary Tree - C

Hello party people...So I just had an interview that I'm confident I screwed up royally. I had a bunch of questions thrown at me and didn't have enough time to answer the last one. After getting all beginning questions correct, I was asked to write a function that would determine whether a binary tree b is contained within another bina...

How to implement a search in a HTML site?

I am really wondering if i can use search for a HTML website. The pages are static. I just want the users to able to search for contents of my site. and the results shown with in my site itself. Is there anyway i can achieve this. I can use PHP on my server. Google search can be implemented but it takes you to google's page to show the r...

Need recommendation for .NET search solution

I'm looking for a search solution and i can't seem to find it. It's meant for a website that offers over a million products of different types that should be searchable. Products are stored in a database with a complex structure (a product property is not mapped directly to a table column) so i think it's easier to use a crawler than a d...

ruby on rails ebay

does any one now the code for the search function on ebay, in particular the ebay suggestion function thanks ...

Microsoft SharePoint Search - Ignore sections of the page

I am using Microsoft SharePoint Search (MOSS) to search all pages on a website. My problem is that when you search for a word that appears in the header, footer, menu or tag cloud section of the website, that word will appear on every page, so the search server will bring you a list of results for that search term: every page on the web...

Best way of searching through a DataGridView in VB.NET?

Hi peeps, On my form there is a datagridview that may get upwards to about 70k items depending on how scan happy our customers get. I also have a textbox which allows the user to search the datagridview using the textchanged event. I'm using a select statement with the like clause and filling the dataset. I dont think this will cut i...

Google Site Search - How do I get rid of branding?

I've paid for Google Site Search for my site and despite it saying that you don't need to have branding, it puts a "Google Custom Search" watermark on the textbox. I don't want this to be displayed but it seems it is added by javascript by Google's API. Any idea of how to remove this? The code I'm using looks like this It uses the Go...

Fast algorithm for searching for substrings in a string

I'd like an efficient algorithm (or library) that I can use in Java to search for substrings in a string. What I would like to do is: Given an input string - INSTR: "BCDEFGH" And a set of candidate strings - CAND: "AB", "CDE", "FG", "H", "IJ" Find any CAND strings that match as substrings within INSTR In this example I wo...

searching and listing WPF resource dictionaries in a folder

I'm making a WPF application that is going to have multiple skins branded in by our build system. Ideally we would like the application to list off the skins available as some builds will have one to many skins. At runtime is there a way to enumerate all the Resource Dictionaries in a specific folder? I want to avoid hard coding the ...

crawling folder content in sharepoint

Hi everyone, I have a sharepoint site that gives me trouble with the search, it somehow crawls everything in the site but when I make a search for a document and I select one of those documents after the search is complete, instead of bringing up the documents it brings me back to the search page that I created. When I check the crawl lo...

Google AJAX search api

Using the Google AJAX search api How can I call a search from my own text box? And parse the results in javascript? ...

Optimizing an Ajax based website for Google Search

Hi all, I would really like to hear your opinions about search engine optimizations for an Ajax based website. The study case is the following: http://projects.trapexit.org/ What are your SEO hints for such an application? Many thanks. ...

Search on multiple keywords with tweetsharp

Hi, I am trying to use Tweetsharp to do a search on twitter for specific keywords but I want to do a search on multiple keywords. The following code works but only for one keyword. Anyone would know how to do an "or" search with tweetsharp? ITwitterLeafNode searchQuery = FluentTwitter.CreateRequest() .Search().Query() ...

Drupal and Google Search Appliance (Google Mini)

I have a Druapl site with pages indexed by a google mini search appliance. The earlier in the week I noticed that a bunch of links were marked as indexed, but excluded because there was a 'print this page' link back to the same page and had a rel="nofollow". I took the nofollow out and let the GSA reindex the site 2 days ago. Now, the...

efficiency of SQL 'LIKE' statement with large number of clauses

I need to extract information from a text field which can contain one of many values. The SQL looks like: SELECT fieldname FROM table WHERE bigtextfield LIKE '%val1%' OR bigtextfield LIKE '%val2%' OR bigtextfield LIKE '%val3%' . . . OR bigtextfield LIKE '%valn%' My question is: how efficient is this when the number o...

How do I search for a String in an array of Strings using binarySearch or another method?

using binarySearch never returns the right index =/ int j = Arrays.binarySearch(keys,key); where keys is type String[] and key is type String I read something about needing to sort the Array but how do I even do that if that is the case? I wish #java was smarter =/ <-- read:simpler Given all this I really just need to know: How d...

"super star" or find the word under the cursor equivalent in emacs

I'm a vim user and have recently been trying out emacs for fun. I find that the feature I'm missing most so far from vim is the "super star" (find the word under the cursor by typing *) feature, and I have yet to find the equivalent in emacs. If it's not built in, what would I need to add to my emacs file to get something similar? ...

Immediate update of site-map index in google, shouldn't that be impossible?

Ckeck out http://www.blocket.se/goteborg?ca=15 Look at the first ad. Copy the headline, and paste it into google, and also write 'blocket' after the headline in google, now search. You will see it finds the ad right away. How come? Does googles crawlers really update their index that fast? Or is it just because you entered that sea...

How to set up a search similar to Amazon recommended product search?

I am trying to do something similar to Amazon recommended product search. For instance, if I have a database of products and when the user searches for a particular product then the database should also be able to show related products. I am not sure how to go about the whole issue. Any suggestions on what I should be reading, books, tu...

Access to Path Denied - Vb.Net

Hey guys, I have this small file search engine here made in VB.NET: ListBox1.Items.Clear() ListBox3.Items.Clear() ChDir("C:\") Try For Each foundFile As String In My.Computer.FileSystem.GetFiles( _ My.Computer.FileSystem.CurrentDirectory, _ FileIO.SearchOption.SearchAllSubDirectories, Te...