search

How does Twitter search work?

I know how Google search works. A web-crawler crawls the web following links and downloading every page as it goes along. Then various algorithms index the page based on its content. How does Twitter search work? Does it index every word? I have seen Twitter say "Older tweets are temporarily unavailable.". Does this mean that they only...

Advice for Building a dynamic "Advanced Search" Control in ASP.NET

I'm building an "Advanced Search" interface in an ASP.NET application. I don't need SO to write this thing for me, but I'm stuck on a specific problem regarding dynamic controls and ViewState. I would like some direction for how to approach this. Here's my situation: Ingredients: A serviceable set of API objects representing ent...

Search Engine with spiders

I need to write a small search engine with spiders and all this stuff.What do you recommend men ASP.NET or PHP ? and what sources should i read in to get the knowledge? ...

Parse a search string (into NHibernate Criterias )

I would like to implement an advanced search for my project. The search right now uses all the strings the user enters and makes one big disjunction with criteria API. This works fine, but now I would like to implement more features: AND, OR and brackets() I have got a hard time parsing the string - and building criterias from the stri...

Limiting the results in IIS index catalog querying

I am using IIS index service to have a search feature in my website. I used the below code to build the query for results string query = String.Format(@"SELECT Rank, VPath, DocTitle, Filename, Characterization, Write FROM SCOPE('DEEP TRAVERSAL OF ""{0}""') WHERE NOT CONTAINS(VPath, '""_vti_"" OR "".pdf"" OR "".config"" OR "".js"" OR...

asp.net Profile Provider Search on specific property

I am using the SqlProfileProvider class in one of my projects and I would like to be able to search for profiles on an arbitrary profile property (e.g. Birthday). The only search method that I have seen is the ProfileManager.FindByUserName. Has anyone implemented that? Or do I have to iterate over the list of profiles (very inefficien...

Windows Desktop Search

Hi I would like to know if it's possible to use "windows desktop search - 4" to Search pdf's and return pages/page numbers in that pdf's. ...

Getting rid of non ansi outer joins "=*" "*=" -- how do I setup a windows search

Good morning, We are considering the possibility of upgrading from MSFT SQL 2000 to 2005. I am trying to run a windows file search on our code base, but it looks like searching for '*=' doesn't work right off the bat. Perhaps the * is some kind of wildcard? Any help is appreciated, -Alan. ...

Which is the fastest search technique/method? (In context of file searching)

I don't know what they use in normal windows searching.But there is a technique in which you use indexing of files at once and then use the index later for faster searching.(e.g. Windows search 4.0) Is there any other way for faster searching than this? Can you elaborate from implementation point of view? (Assuming that I may need to im...

Can I use Lucene for business application search?

I have a typical enterprise/business application that I am developing that includes orders, salespersons, contacts, reference data, etc... There will be at least 100 or more users on the system at a time who are entering new data, changing data, etc. I need to provide search capability across the application for almost all tables. O...

PHP Search Title and Tags

Greetings, I'm thinking about the best way to implement a search on my website. I know about Sphinx and MySQL Full-text searches, however I'm not just searching a single field. I have two things that I want to search: the title of an article and the tags associated with that article. What I was thinking of doing is defining another col...

making IPTC data searchable

I have a question about IPTC metadata. Is it possible to search images that aren't in a database by their IPTC metadata (keywords) and show them and how would I go about doing this? I just need a basic idea. I know there is the iptcparse() function for PHP. I have already written a function to grab the image name, location, and exten...

Which open-source search engine should be used ?

My aim is to build an aggregrator of news feeds and blog feeds so as to make searching/tracking of entitites in it easy. I have been looking at many solutions out there like Terrier, Lucene, SWISH-E, etc. Basically, I could find only 2 sources of comparison studies done on these engines and one of them is kinda outdated. Basically I w...

In RegEx, how do you find a line that contains no more than 3 unique characters?

Hey guys, I am looping through a large text file and im looking for lines that contain no more than 3 different characters (those characters, however, can be repeated indefinitely). I am assuming the best way to do this would be some sort of regular expression. All help is appreciated. (I am writing the script in PHP, if that helps) ...

matching against words with accent marks, umlauts, etc. mysql/php

I've got a website for which I just wrote a great search function. I just realized that I have some words in my db with accent marks. So when somebody types in the word to search for, without the accent mark of course, they don't find what they are looking for. most search functions have solved this problem by now; how do they do it? T...

Enabling soundex/metaphone for non-English characters

Hi all, I've been studying soundex, metaphone and other string search techniques the past few days, and in my understanding both algorithms work well in handling non-English words transliterated to English. However the requirement that I have would be for such search to work in the original, untransliterated languages, accomodating alp...

creating a mysql search string dynamically?

Hi all, I'm trying to create a simple search page, but I'm not 100% sure how to write the actual search string (using the appropriate AND's etc if the variable exists) here's the code: if ($post) { //get all search variables $type = JRequest::getVar('type'); $classifications = JRequest::getVar('classifications', array(0), ...

Good C++ directory and file library?

Hello everyone! I am making an application in C++ for windows, and one of its prime functions has to be directory and file io (searching, creating, etc). I basically want to be able to recursively search directories, and most of all be able to get the file names in a directory. Then I want to be able to get the directory names in the cur...

How do I find an element position in std::vector?

I need to find an element position in an std::vector to use it for referencing an element in another vector: int find( const vector<type>& where, int searchParameter ) { for( int i = 0; i < where.size(); i++ ) { if( conditionMet( where[i], searchParameter ) ) { return i; } } return -1; } // caller: c...

Sphinx search engine, a couple of quick questions.

So, I'm just starting to read up on this, I've never implemented a search in PHP before. I have a couple of questions that I was wondering: By the sounds of things, Sphinx needs a 'daemon', a program running in the background, to operate? Say I built an index of a mySQL table, then a user uploads another record. For the searc...