search

Android search list while typing

How can i build a search bar where while i'm typing the results are shown in the list view in which i'm searching? For example, i have a list view with 20 strings. I press the search key and appears the bar. I want when i type 3 words or more the search starts running showing the results in the list view (as a filter: only shows the str...

iPhone SDK - Search Bar Thread Synchronization Question

This is more of a high level "how do you solve this type of problem" type of question, as opposed to a "why doesn't my code compile" question. I've got a search bar within an iPhone application that searches my data just fine. However, i have the search triggered (handleSearchForTerm is called) after each keypress. This creates some l...

Google like dropdown box when user is searching

I am using asp.net C# 2008, and I need to create a search textbox which will display dropdown values (similar to google search); The values displayed in the dropdown will be values from the SQL 2005 database (example the user is searching on FirstName, the dropwdown will display all firstnames, which get filtered as the user types in mor...

is there a way to search for keywords, past and present, in a (svn) subversion repository

Although a subversion repository is like a time machine where nothing is ever deleted. i still find myself reluctant to totally 'svn delete' things from my codebase if i think i might want to search for it at a later date. So, i will feel freer if i could have some way of keeping a local-copy index of the keywords and phrases in the rep...

E-commerce Search Engine

Our current search engine for our shop sucks. It's basically a simple mysql fulltext search. It's not always relevant, ranking is not very useful, and no filtering, auto-correct, etc ... Now I know we could spend more time and money and make it good, but I feel I'd be re-inventing the wheel. I was looking at Google Commerce Search (htt...

How to use a logged in person's credentials to search Active Directory?

I have a web app (.NET 3.5) which is sending notifications by email to users. In order to do this, I search Active Directory to find each person's email. At the moment, I am hardcoding my own username and password like so in order to search AD: Dim entry As New DirectoryEntry("LDAP://companyad", "myUsername", "myPassword", Authenti...

What's the efficient way to search and filter ObservableCollection

I've a database consisting of about 1 million records. My application makes frequent incremental search on these records and filters the UI list. The scenario is more like the 'phone contact search'. Currently i'm following this: Load the data into List<myModel> in the DataSource Layer` Send it to MainViewModel Load List<myMod...

Database of common name aliases / nicknames of people

I'm involved with a SQL / .NET project that will be searching through a list of names. I'm looking for a way to return some results on similar first names of people. If searching for "Tom" the results would include Thom, Thomas, etc. It is not important whether this be a file or a web service. Example Design: Table "Names" has Name and ...

iPhone Stock/Ticker Search

I'm trying to build a financial iPhone app that has a stock search as one of its features. I noticed that the Bloomberg app (and the default Stock app) query online whenever they're looking for stocks. Does anyone know how they do this? I once built a PHP backend that queried the Yahoo Finance API using http requests but I doubt this i...

SearchDisplayController & Coredata Search locks the application while loading, what can i do?

Hello friends. I am building an application with coredata. Its nearly finished but i have a problem. I want to put a search section on my application. I did it now and it is working, but there is something weird and i could not solve. When clicked on the search button, i am preparing my Predicates and search my database, and show the ...

how to get best search results AND , OR , LIKE

Query #1: SELECT DISTINCT `title` FROM `table` WHERE ( `title` LIKE '%this is search%' ) OR ( `title` LIKE '%this%' AND `title` LIKE '%is%' AND `title` LIKE '%search%' ) OR ( `title` LIKE '%this%' OR `title` LIKE '%is%' OR `title` LIKE '%search%' ) LIMIT 0 , 10 but not works good , and when I try splited this sql: Query #2: SELE...

How would you implement search in HTML in a WinForm app?

I have a form that displays HTML through a WinForms browser control. I wish to implement search for the contents of the browser. The requirements are: One should be able to search for one or more terms Each hit in the text should be colored e.g. in red Navigation should be provided so that one can easily move from one search hit to t...

Windows 7 Federated Search - How to make it send search requests to my .net assembly

I am trying to display search results in the windows 7 explorer thru the federated search feature, from a local .net assembly. (not from a web service) I have found various tutorials, but all of them are for web services. Earlier I thought that it was not possible but then, I came across the StickyNotes federated search connector. The c...

MySql Searching two tables and comparing columns with like and %

I am trying to select data from two tables and insert it into another one. I want to select the data when certain things match in each table. The problem is that one of the comparisons needs to be a like and I am at a loss. The sql statement is below and I believe that it will at least show what I am trying to do. insert into hr_numb...

NHibernate Search Clustered Lucene Index

We are using NHibernate Search in an application which is going to be clustered. I have been reading up on the approaches for maintaining separate collections, in particular the master/slave configuration and I was wondering how to go about implementing it using MSMQ if indeed there is an implementation for this at this time. The JMS imp...

Search engine solution for Django that actually works?

The story so far: Decided to go with Xapian as search backend because it has all search-engine features I was looking for, knows about Unicode, stemming, has few dependencies and requires no bloated app-server installation on top of it. Tried Django and Haystack (plus xapian-haystack, the backend glue code to tie Haystack to Xapian) be...

reading only text from Html using PHP

Hi! i read the meta tags from a PHP script that read the url convert it to html and then read the tags and title .................for this no problem but the problem is i wants to read only the text from html............... for Example when you put a link on facebook you can see that i read's your Title and some text from your webpage u...

Best Way To Show Related Content Using C#

Hi there. I work for a high traffic content website that offers news, photos & videos (amongst other things). One thing we struggle with is perfecting our "related items" module. If you are viewing a video, we show a list of 5 related videos. This applies to blog posts, articles, etc... Our team does a good job tagging the content w...

sequential vs. binary search

Consider a file on disk containing 100 records. For both searches, what is the average number of comparisons needed to find a record in a file. number of comparisons if the record is not in the file the average number of comparisons if the record has a 68% chance of being in the file the number of disk accesses in the previous 3 quest...

Search and Search &Replace in Visual Studio 2008 everywhere besides comments?

Is there a way to search and eventually search and replace text in Visual Studio but to skip it (not show) if it's commented out (either with // or multi line comments). Additionally is there a way to skip some file(s) when doing search && replace on whole solution? ...