search

Wildcard PHP text search

I have a text string that has been doctored to be web safe URLs i.e. non alphanumeric's are converted to "_". What I want to do is search for the original name before it was converted, this means that I need some kind of wild card search i.e. What I have test__mytest With wildcards test??mytest The string I would find with the wi...

Issues adding search to iPhone app

Hi, Basically I'm trying to add a search function to my iPhone app, but I'm not having much luck at the moment. I've downloaded the Apple provided Table Search app, and have copied across the code to mine. It builds OK, but here's the problem. Unlike the Apple example, all my data is stored in an array, that is accessed by calling [ciPa...

what to do when Bing api provides inaccurate results

I am trying to use the bing Phonebook search for locations in China, but all the latitude and longitude are inaccurate. Using the following http://api.bing.net/xml.aspx?AppId=appid&Query=nike&Sources=Phonebook&Latitude=39.9883699&Longitude=116.3309665&Radius=30.0&Phonebook.Count=10&Phonebook.Offset=30 I get ...

Optimizing encrypted column search

I have a table called,tblClient with an encrypted column called SSN. Due to company policy, we encrypted SSN using a symmetric key (chosen over asymmetric key due to performance reasons) using a password. Here is a partial LIKE search on SSN declare @SSN varchar(11) set @SSN = '111-22-%' open symmetric key SSN_KEY decrypt by p...

search array and get array key

Hi all, I have an array, which I'd like to search for a value in and retreive the array key if it exists, but not sure how to even go about doing that. Here's my array: Array ( [hours] => Array ( [0] => 5 [1] => 5 [2] => 6 [3] => 6 [4] => 8 [5] => 10 ...

Based on which criteria google AJAX Search API will give search results ?

Hi, I have used google search API to get the results of google search but it gives me different results as I have searched directly in google.com. So,if anyone know here how is it possible then let me know.why both results are not same for same search keyword ? ...

Building counters from paginated search results...?

I'm creating eBay style search panes that allow users to narrow their results set by certain criteria. For example: Tags Literature (8) Fiction (4) English (4) American (3) Non-fiction (2) The number of results which have that property is in brackets. Initially, I built the counters by putting this code in my display ...

UISearchDiplayController: show all results without entering text?

I have a UISearchDisplayController that is being used to display a long list of options for the user to pick. I filter the list using the search bar supplied by the controller. It all works ok, apart from I can't get the results table to display except by entering text into the search bar. I want to have the table show all the results...

Breadth First Search and Depth First Search

Can anybody give a link for a simple explanation on BFS and DFS with its implementation? ...

An example of advanced database search

Hi there, im looking for an example script. I saw one yesterday but for the life of me I can't find it again today. The task I have is to allow the user to search 1 database table via input controls on an aspx page where they can select and , or , equals to combine fields, generating the sql on the fly with concat/stringbuilder or sim...

Help to learn Image Search algorithm

I am a beginner in image processing. I want to write an application in C++ or in C# for Searching an image in a list of images Searching for a particular feature (for e.g. face) in a list of images. Can anybody suggest where should I start from? What all should I learn before doing this? Where can I find the correct information reg...

Calculate weight for entries and order it for search

Hello I have these tables: businesses :name :rating categories :name business_categories :business_id :category_id reviews content business_id Now I want to do a search, when type keywords, match it in these columns: business.name business.category.name business.review.content Then order the results by the weight,...

Detecting Enter in TextBox ASP.NET no JavaScript Please.

Basically I have a Search Text Box with a LinkButton Control on which the click event is fired. now what i want is when the user type keywords and press enter the Click event got fired. So No Javascript Only ASP.NET With VB.NET v2.0 Sincerely Rajeev [email protected] ...

Best way to retrieve certain field of all documents returned by a lucen search

Hi, I was wondering what the best way is to retrieve a certain field of all documents returned by a Searcher of Lucene. Background: each document has a date field (written on) and I would like to show a timeline of all found documents, so I need to extract the date (day) field of all the documents I find with the search. I currently r...

Java/Swing (and GUI in general) - technique or patterns to build dynamic search form with criterias/filters

I feel recurrent the need of building a search formula or filter panel using logic and expression. Here are some example expressions: search all item with price >= $100 and available in stock. filter all files with (name like *.log or name = toto.txt) and modification date < 2 hours from now I know how to implement such a search/filte...

Coming from KScope, then how to use serach in Eclipse?

I installed Eclipse (Galileo) and CDT on my Linux platfrom to replace KScope. I imported my project by creating a clean Makefile Project. In KScope, I could right-click on a variable, function, whatever and quickly search for references, etc. If I do the same in Eclipse, it does not work, except if I do a Search Text. But then, Eclipse ...

TableSearch in ViewController not working!!!!

Hi I am a newbie to iphone programming. I took the sample code from TableSearch in apple documentation and tried working. I have a navigation controller and when i select one row to goes to another UITableviewController.I have made my table search in that view. But it doesn't load the table....please help. Error maybe in this part. (...

Best way to store list of numbers and to retrieve them

Hi. What is the best way to store a list of random numbers (like lotto/bingo numbers) and retrieve them? I'd like to store on a Database a number of rows, where each row contains 5-10 numbers ranging from 0 to 90. I will store a big number of those rows. What I'd like to be able is to retrieve the rows that have at least X number in comm...

Search implementation dilemma: full text vs. plain SQL

I have a MySQL/Rails app that needs search. Here's some info about the data: Users search within their own data only, so searches are narrowed down by user_id to begin with. Each user will have up to about five thousand records (they accumulate over time). I wrote out a typical user's records to a text file. The file size is 2.9 MB. Se...

Google map search bar resize in GWT

I have a gwt application that uses the map api for a mapWidget. I added the integrated search for the map with setGoogleBarEnabled(true). It works fine, but the input field is 6px height. How can I resize it? Thanks Balint ...