search

PHP file searching...

i need to do a file search with php, and i have the filename search down, with glob, but i still need to search inside files. i have a prototype, at tann98.vacau.com/file-search, but i need keywords, and suggestions. plus it needs to look inside files to find matches. does anyone have ideas on how to do this kinda thing? ...

How do I hide Drupal nodes that shouldn't be directly accessed from users and search engines

I have seen many somewhat similar questions, but nothing quite what I'm looking for. So at the risk of being told this is a duplicate... here it goes. I've found that there are times I have a node that simply contains content that will be displayed somewhere else, but shouldn't be viewed directly. That is, no one should ever go to node/...

Ordering items with matching tags by number of tags that match

I'm trying to figure out how to order items with matching tags by the number of tags that match. Let's say you have three MySQL tables: tags(tag_id, title) articles(article_id, some_text) articles_tags(tag_id, article_id) Now let's say you have four articles where: article_id = 1 has tags "humor," "funny," and "hilarious." article...

How to get the item that appear the most time in an array?

var store = ['1','2','2','3','4']; I want to find out that 2 appear the most in the array. How do I go about doing that? ...

A service to search for RSS feeds?

Hi, I am building an RSS Reader. Some of the existing ones out there (for example, Pulse News for iPhone/iPad) have a search box where you can search for some term (example - "sports") and it will return a list of feeds that match your search criteria. So in this example, you type in "sports", and it searches and then comes back with E...

MySql Question --- Problems with fulltext search

I have 2 fulltext seach indexes, one for users and one for posts, every time a user signs up he gets added to that table for user_search and when when ever a user makes a post .. the post gets added to the post_search MYISAM table. Now the thing is, I discovered that for some reason my latest inserted items are not appearing in search. ...

how can I do quick searching in flex?

I used character based searching name in data grid by using http services . so i used text box and data grid , fcomptxt is text box id fComptxt.addEventListener(Event.CHANGE,applyFilter); public function applyFilter(e : Event):void { CompanyViewBean.companyViewBean = new CompanyViewBean(); CompanyViewBean.company...

Retrieve list of all subdomains in search results from Google Search Appliance or Google Search

How could I retrieve a list of all domains or URLs represented in google search results for a key term? In this particular case, we have a Google Search Appliance, and I am looking for results on only the domain with the gsa. Optimally, I'd like to retrieve a list of all subdomains of this domain that are returned from a search result. ...

How to define an activity for the Search Button?

I am not using a SearchManager, but I have built my own custom search activity. I want this to be shown when the user clicks on the Search button. How can I do this? ...

Want to replace fulltext, and %foo% search with something better (and faster).

I have a site (built in php) where I have roughly a million records in a mysql table. There is a very complex "advanced" search which allows the data to be searched, sorted, and ordered in hundreds if not thousands of various ways. Unfortunately, mysql search isn't that good, and is extremely slow. Average search takes 5 seconds curren...

How can I find out if two strings are mostly equal (in perl)?

I have a string that I want to compare against an array of strings, and return the array element that most closely matches. I can write a sliding correlator that counts the number of matching characters at each step and returns the max correlation. But is there a better way? For example: control_string = drv_probability_1_max List:...

MongoDB C# Logging Search Results

Hello! I am working on a mobile site that lets you search for tags of a MongoDB collection of articles. Basically, each article object has a tags property, which stores an array of tag strings. The search works fine, but I also want to add logging to the searches. The reason is that I want to see what visitors are searching for and wh...

SQL: search of nearest in 2d square and circle.

I have a table: points it has 2 filds: X, Y each row represents a dot on 2d field I want to be capable of performing search of dots with in some radius R like and is square with side A like BTW: I use PHP to access my DB. My main point is to get nearest to center of figure point as first result in the quqe like How to do su...

Finding a Value within a Range in a List of Tuple Values in Python

I'm trying to get the Body Mass Index (BMI) classification for a BMI value that falls within a standard BMI range - for instance, if someone's BMI were 26.2, they'd be in the "Overweight" range. I made a list of tuples of the values (see below), although of course I'm open to any other data structure. This would be easy to do with SQL's...

Find in files, within team foundation server

Is there an option or an addin for Team Foundation Server that will enable 'find in files' style searching within the repository? ...

Find the successor in a BST without using parent pointer

The successor of an element in a BST is the element's successor in the sorted order determined by the inorder traversal. Finding the successor when each node has a pointer to its parent node is presented in CLRS's algorithm textbook. (Intro to algorithm by MIT press). Now I am thinking another question, can we find the successor without ...

Archived Digg RSS data (or front page stories)

I am looking for an archive of Digg and other social media sites RSS feeds. I want to be able to access feeds from specific dates in the past. After a bunch of googling I've come up blank. Any ideas? ...

Best way to select the ith smallest number of a delimited sequence of numbers

Hi everyone. If I am given a certain set of numbers (which I store in a balanced binary search tree for easiness), then I want to answer a query that requires me to inform what is the ith smallest number between [A,B], what would be a fast algorithm to perform that task? Technically I could traverse the tree from the root searching for...

Solr search for lots of values

I'm using Solr to search for a long list of IDs like so: ID:("4d0dbdd9-d6e1-b3a4-490a-6a9d98e276be" "4954d037-f2ee-8c54-c14e-fa705af9a316" "0795e3d5-1676-a3d4-2103-45ce37a4fb2c" "3e4c790f-5924-37b4-9d41-bca2781892ec" "ae30e57e-1012-d354-15fb-5f77834f23a9" "7bdf6790-de0c-ae04-3539-4cce5c3fa1ff" "b350840f-6e53-9da4...

Unable to search pdf in one library for some foreign users

We run a SharePoint Portal server 2007 and we have some problems with searching for pdf's. In general everything goes fine with most users only some foreign users don't see pdf's in the result from 1 library on our server. Other libraries are shown in their search results (pdf and word) and word documents from that library which goes wro...