search

How to properly insert/delete in a binary search tree in C?

I kinda have to put my previous C questions on hold cause this one is more important now... I have already coded the insert and delete functions on my binary search tree but the delete function is incomplete. There's a couple of things I need help in... 1) Is my insert function good or can it be improved somehow? 2) My delete function...

Vim replace selected text

Lets say we have a a text and i enter in visual mode and select a text and how do i quickly do a search for the highlight text and replace it with something else thanks ...

Implementation details about the Yahoo email search

The newest search engine on emails from Yahoo was implemented in 2006 (details). IMO is better than Gmail, Hotmail and AOL. I'd love to know more details about implementation (indexes, technologies, etc). If anyone know something about this subject please let me know. ...

Dynamic search result when typing

I'm using asp.net and want to filter a search result everytime the user enter letters in a textbox. For exmaple this website do exactly what I want: http://www.prisjakt.nu/ (try searching in the right top corner). I have tried just putting my textbox and the gridview with the search result in an updatepanel, it's working but it's really ...

What are some websites where I can search for public source code?

I know of Google Code, which I presently use to search through publicly available source code. However, is there a better website where I can search through public source code? Specifically, it would be nice if I could easily locate code in Sourceforge and CodePlex. ...

Anyone use Recommind, Autonomy or FAST with .NET?

We're evaluating some enterprise search servers and would like to have some developer feedback on the API's of Recommind, Autonomy and/or FAST (now owned by Microsoft). We're a .NET shop so we'd either be using web services (xml) or some kind of API wrappers to hook into the search application. Anyone use any of these products before -...

Effective strategies for studying frameworks/ libraries partially

I remember the old effective approach of studying a new framework. It was always the best way to read a good book on the subject, say MFC. When I tried to skip a lot of material to speed up coding it turned out later that it would be quicker to read the whole book first. There was no good ways to study a framework in small parts. Or at l...

Does Google offer the ability to ban results systematically from certain sources without the -site string?

I know the topic of removing www.experts-echange.com has been beaten to death but having to type -site:www.experts-exchange.com is tedious. Even the ability to auto add strings to a query would solve this problem. I can probably wrap this into some wget mess but this seems like basic functionality many users would base their search eng...

Does C++ have a sequential search function?

I have a small unsorted array and I'd like to find the index of a particular value. Does C++ have a built-in sequential search function for this, or do you just write the loop yourself each time it comes up? I'm specifically using a C-style array like: std::string arr[5] = { "EVEN", "ODD", "NONE", "MARK", "SPACE" }; and I need the i...

Efficient way to determine whether query will return "too many records" in SQL Server

I've got a search form that could potentially return thousands of records; I'd like to show a message if the query returns more than 500 or so and make the user refine the search to get fewer results. Am I stuck with doing a Select Count before running the actual query? What's the best practice here? ...

Google Desktop or Indexed Text File Search Within ASP.NET application

I have a folder with thousands of text files and I'd like to paste and search content into a web form and return matches in those files. Is there a way to do content indexing of those files and do these searches from within an ASP.NET application? What tools and techniques are available? ...

Search JavaDoc in Eclipse

Hi there, is there a way to search in javadoc comments only (via eclipse)? I just want to find text within a javadoc comment... Greets, Tobias ...

PHP-based search frameworks

I'm going to make a small site which requires advanced search capabilities. Since reinventing the wheel isn't such a worthwhile activity, I've done a little googling and found there are some PHP based search frameworks, one of which is integrated into Zend framework. What I would like to have in the framework: Both full-text and catal...

Unable to search pdf-files' contents in terminal

I have pdf -files which contents I have not managed to search by any terminal program. I can only search them by Acrobat Reader and Skim. How can you search contents of pdf -files in terminal? It seems that a better question is How is the search done in the pdf viewers such as Acrobat Reader and Skim? Perhaps, I need to make such a s...

How do you search all source code in Vim?

When using Vim, and given a directory filled with code (e.g. ~/trunk/) with a number of sub-directories, is there a way to grep/search for instances of text/regexes across the entire source code? At the moment I use: :lcd ~/trunk :grep "pattern" *.py */*.py */*/*.py */*/*/*.py (Obviously I'm limiting this to Python files, which is a ...

simple search engine using web developer 2008

I'm working on a simple e-commerce website right now, nothing real just practicing the problem that I'm having is how to make a simple search in the website? i.e. if I want to search for the word "iphone" in the database of the website. how can I do that? and how can I specify a column to search in it instead of searching the whole ta...

Search for nearest value in an array of doubles in C++?

I have a sorted array of double values in C++. Is there an STL function that will return the index of the nearest value in the array to a given double value? For example, given the following array double myarray[5] = { 1.0, 1.2, 1.4. 1.5, 1.9 }; the function call search(myarray, 1.6); should return 3, the index of the element nea...

What is the difference between Linear search and Binary search?

What is the difference between Linear search and Binary search? ...

Asp.Net Search, found changes on key press.

I am trying to implement a search bar in Asp.Net where the results change with every key press. I want the search bar to contain a drop down list of available results pertaining to what they have typed in thus far. So if you were searching for states, and you typed M, it would list all states starting with M, but if you add an i to tha...

How to represent implicit relationships?

Hi, I am developing an application where I have to deal with an Entity named 'Skill'. Now the thing is that a 'Skill A' can have a certain relevancy with a 'Skill B' (the relevancy is used for search purposes). Similarly 'Skill B' can also be relevant to 'Skill C'. We currently have the following data model to represent this scenario S...