search

How to block search engines from finding sub.domains?

Hi, I want to block search engines like Google and Yahoo from crawling user sub.domains like user.example.com, how can i do it? ...

is there any way to make my jquery search better ?

Hello var myarr= Array('test1','test2','test3'); var searchTerm = "test"; var rSearchTerm = new RegExp( searchTerm,'i'); $.each(myarr, function(i) { if (myarr[i].match(rSearchTerm)) { //item found } });​ guys is there any way to make my search algorithm better ? "myarr" will be a big array so i want...

Search Results XML Data returns first line of text as the result title instead of the title field for some .doc files

Excuse the very long title, I was just trying to be descriptive :) I have a number of word documents stored in a document library in a document centre. For most of the documents when I search for a term, the content that's in the "Title" field is returned in the result's title node in the Search Result XML. However there are a number ...

NSCFString countByEnumeratingWithState:objects:count: ERROR while searching NSMuttableArray

Hy Everybody, i have the following situation. I have an NSMuttableArray filled with an xml file which I want to search. When I enter something in the searchfield I get this Error: "-[NSCFString countByEnumeratingWithState:objects:count:]: unrecognized selector sent to instance 0x5b388b0" What does it means and how can I fix it?!? I s...

Interpolation search on strings

For those of you not familiar with interpolation search, it is method to search for a value in a sorted array that is potentially faster than binary search. You look at the first and last element and (assuming that the contents of the array are uniformly distributed) linearly interpolate to predict the location. For example: we have an ...

Pattern for searching entire DB record, not specific field

More and more, I'm seeing searches that not only find a substring in a specific column, but they appear to search in all columns. An example is in Amazon, where you can search for "Arnold" and it finds both the movie Running Man starring Arnold Schwarzeneggar, and the Gund toy Arnold the Snoring Pig. I don't know what the term is for t...

Search Engine for stemming (.Net)

Hi!!! Is there any search engine (ideally for .Net) which can return stem words after indexing text? I need to get all words in stem form from text; Please help me;) Thank you for any advice! ...

Sphinx Configuring Multiple Sources

We have a modular site and would like to setup searching by module. For example, we have modules: news, customers, inventory So if the user is on the news module and they do a search, the results should only be from the news table. I've been reading Sphinx documentation but haven't seen if this is possible or not. We are using PHP an...

Regex to parse out filename and partial path, conditionally

I have a C# app that uses the search functions to find all files in a directory, then shows them in a list. I need to be able to filter the files based on extension (possible using the search function) and directory (eg, block any in the "test" or "debug" directories from showing up). My current code is something like: Regex filter = n...

How does Google Scribe work?

I'm asking about the new labs feature "Google Scribe." Here is the link: http://scribe.googlelabs.com/ I am interested in the backend and the frontend, but mainly the backend. I want to build something similar with a very specific data set (derived from my own documents). I think the frontend of it is fairly straightforward, and I co...

search and result in asp.net mvc c#

i have a textbox with button search. i would like to search my database of input text from textbox and give result out in one view. Could you please give me link or help me how its possible to implement? I have no idea what i shoul to do that. ...

Store list of ids and check it exist there or not.

Hello Friends, I have some id which i am getting from database matching some criteria specified there. No of id may be 100. I will store all that id at somewhere at loading of application. I have one continuos running process which return id and i want to check that returned id is exist in stored IDS. So how can i check it.I am thinking...

How do I move old content down in the search engine rankings?

There is some precedent for search-engine-ranking-related questions on StackOverflow, so please don't close this question. It's programming-related to the extent that HTML META tags can be called "programming". Here's the problem: We make FogBugz, the software project planning and bug tracking suite. Either we did a great job with our...

How does Google Instant work?

Any ideas on exactly how the new google instant search works? It seems to just be AJAX calls to the old search, but it's pretty hard to simplify Google that much. Anybody have speculations? EDIT: I know there is AJAX sent with each keypress, but is it predictive? Or do you think it's just a regular ol' google search? ...

Search Code in Project for Stored Procedures in the Database

Is there an easy way to run a search for all the stored procedures in the database to see if they are anywhere in C# code in Visual Studio? I am using Visual Studio 2008 (C#) with SQL Server 2005. I just want to query the database and return a list of all the stored procedures (I can easily do this). Then I want to search through an en...

What new(er) technologies does Google Instant Search use?

Is Google Instant search using Google Wave DOM diffs or something?(or maybe they are using Etherpad based tech) for speed? does it reuse/create elements with xpath? whats the speedup? what else that's interesting is going on? ...

how to add a string to a class object in iphone

i have a search view.in that i am searching for the topics starting with some character.when i press 1 character it will show the results in table view.the search results in textDidChange method are storing in string type. how can i convert this string type into class "Topic" type. "Topic" is a class.i have created aTopic object for "Top...

select equal sized number groups from a sequence of random numbers

say i have a list of 100 numbers, i want to split them into 5 groups which have the sum within each group closest to the mean of the numbers. the simplest solution is to sort the hundred numbers and take the max number and keep adding the smallest numbers until the sum goes beyond the avg. obviously that is not going to bring the best...

PHP: search substring within a string using preg_match??

Im trying to create a function to check for a substring within a string in php. public static function stringCheck ($string, $substring) { $patern = "/".$substring."/"; if (preg_match($substring, string) { return true; } else return false; } but if i enter a special character used in preg_match (^.[$()|*+?{) it screws up ...

Encrypted viewstate causes search to break in WSS 3.0

After setting the web.config attribute viewStateEncryptionMode to "Always", the following error is thrown when attempting to search using the standard search textbox: Unable to validate data. at System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, IVTyp...