search

Keyword search using PHP MySql?

Hi there, I have title (varchar), description (text), keywords (varchar) fields in my mysql table. I kept keywords field as I thought I would be searching in this field only. But I now require to search among all three fields. so for keywords "word1 word2 word3", my query becomes SELECT * FROM myTable WHERE ( name LIKE '%word1%' OR d...

Block certain html element from getting indexed by search engines

For styling purposes i want to insert some dummy text on the page, but it shouldn't be getting linked to the actual content. Is there a way to block it for search engines, or do i have to use good old images for that? Or would it be possible to load it dynamically via javascript? because i heard that google will read certain amounth of...

How does StackOverflow suggest related questions?

Possible Duplicates: Stackoverflow Related questions algorithm Stackoverflow Search Algorithm I expected the answer to my question to appear in the Related Questions after I typed it; however, ironically, it did not. How does StackOverflow generate the list of related questions before I submit a new question? Is it using a fu...

"in-line find" plug-in for Visual Studio

Is there a plug-in (or built-in feature) for Visual Studio 2008 to be able to do a quick in-line find in your code? I am unhappy with the find feature (Ctrl+F). I don't like how it pops up in its own window. I think it would be much better if it was more like the Firefox find. (Try Ctrl+F in Firefox). I like how you start typing and it ...

search in java ArrayList.

I'm trying to figure out the best way to search a customer in an ArrayList by its Id number. The code below is not working; the compiler tells me that I am missing a return statement. Customer findCustomerByid(int id){ boolean exist=false; if(this.customers.isEmpty()) { return null; } for(int i=0;i<this.custome...

Using search from other site on yours

I want to put a search form on my site, but when you hit search, it will search another site. For example, I have a form on mydomain.com/search that will search domain.com/search?term="keyword" Once I hit the search button, I want it to open a new window appending the keyword to the URL. Can this done via jQuery/PHP? ...

Visual similarity search algorithm

I'm trying to build a utility like this http://labs.ideeinc.com/multicolr, but I don't know which algorithm they are using, Does anyone know? ...

Mysql Search for Domain Names

Hi I have a table full of domain names. I'd like to do a search that returns some kind of relevancy results on it. My problem, is that if I do a search for "cool" I want it to return "cooldomain.com", which a fulltext search, unless I'm doing it wrong, will not. Are there any fulltext options I'm unaware of that will accomplish this? I...

Best design for search, from a user perspective. Pre or post search selection?

This is a question on how to best design the search experience for users of a CMS based system. It's on a intranet system. The users needs to be able to filter the search results based on where the document/information is located, and to have the ability to search/filter on other meta data such as author, creation date amongst other fiel...

How can I optimize a dynamic search query in Oracle

I am writing a stored procedure to perform a dynamic search that spans 10+ database tables. With millions of records in each table and a dynamic set of search parameters*, I am having some trouble optimizing the procedure. Is there a "best practice" for building these kinds of queries? E.g. Use strings to build a dynamic query, use a h...

Implement fuzzy search in a sharepoint portal

I am developing a sharepoint portal for a suggestions and rewards system and need to alert duplicate suggestions. Suggestions will be in free text format, hence need fuzzy search. I understand that “Damerau-Levenshtein algorithm” does fuzzy search, but how do I implement in Sharepoint portal? Can Microsoft Search Server help? If yes, how...

How to identify if a Lucene.Net Index exists in a folder

I am using Lucene.Net for indexing and searching documents, and I am using the following code to create or open an index if one exists: IndexWriter writer = new IndexWriter(@"C:\index", new StandardAnalyzer(), !IndexExists); private bool IndexExists { get { return ?? } } now how can ...

Sharepoint Search Property Weighting

I'm using the code listed here: http://msdn.microsoft.com/en-us/library/ms553069.aspx With an additional line added as a call to .update() after the property is set in order to save the changes, but even with a weight of 10,000 the search results for my property are still at the bottom, particularly below title. Is there some other thi...

Searching geocoded information by distance

I have a database of addresses, all geocoded. What is the best way to find all addresses in our database within a certain radius of a given lat, lng? In other words a user enters (lat, lng) of a location and we return all records from our database that are within 10, 20, 50 ... etc. miles of the given location. It doesn't have to be v...

Large Sqlite database search

How is it possible to implement an efficient large Sqlite db search (more than 90000 entries)? I'm using Python and SQLObject ORM: import re ... def search1(): cr = re.compile(ur'foo') for item in Item.select(): if cr.search(item.name) or cr.search(item.skim): print item.name T...

How can I search in an UIWebView?

I need to perform search in an html page displayed in a UIWebView control. The functionality I need is something that Safari has, when you hit command/ctrl F for searching the document for some word and the program highlights the hits for you. Is there any easy solution for this problem? ...

What .NET collection provides the fastest search

I have 60k items that need to be checked against a 20k lookup list. Is there a collection object (like List, HashTable) that provides an exceptionly fast .Contains() method? Or will I have to write my own? In otherwords, is the default .Contains() method just scan each item or does it use a better search algorithm. foreach Record item i...

How does Indeed.com gather results from multiple job sites.

Do they use partnership and APIs, scrape the data or use public apis from all the job sites. Specially interested in how they obtain data from other job sites like monster.com and hotjobs. Implementing a program to do similar stuff, all ideas welcome/ ...

Search website page content in VB.NET - 3rd party tools? Code Examples?

I am hoping to implement search in my asp.net website. I have been searching the web, but I am not sure which way to go. Here is what I am looking for: ability to search the text in static pages on my site exclude pages or folders that I don't want to search code must be in vb.net or c# must be something I can quickly implement .net 2....

Code-aware searching

Are there any tools available that will search through a file, treating it as code, rather than plain text? That is, so you could specify that you want to find all occurrences of "foo" contained in a string? ..or in a variable name, etc? A quick web search turned up Codase but it seems to be more of a search engine rather than something...