search

Filtering Questions (posts) by tag_name in TagController#index passing /tags?tag_name=something

I am trying to get my TagsController#index action to display only the Questions that contain certain tags when passing the search parameter tag_name. I am not getting an error just can't get the filter to work correctly such that upon receiving the /tags?tag_name=something url, only those questions are displayed . Here is the setup: cla...

Effective Method to Manage and Search Through 100,000+ Objects Instantly? (C#)

I'm writing a media player for enthusiasts with large collections (over 100,000 tracks) and one of my main goals is speed in search. I would like to allow the user to perform a Google-esque search of their entire music collection based on these factors: Song Path and File Name Items in ID3 Tag (Title, Artist, Album, etc.) Lyrics What...

cuda libraries for search operations

Is there any CUDA library that performs comparison/search operation. ...

How to know the referral source of my website/page

I have a website where I want keep track of the Statistics about the users who came to my page from different sources. I want to identify whether user came from Search engines / other websites / direct typing the URL. I am using asp.net and C#. Please help ...

Difference between KeywordQuery, FullTextQuerySearch type for Object Model and Web service Query

Initially I believed these 3 to be doing more or less the same thing with just the notation being different. Until recently, when i noticed that their does exists a big difference between the results of the KeyWordQuery/FullTextQuerySearch and Web service Query. I used both KeywordQuery and FullText method to search of the the value of ...

MySQL/PHP Search Efficiency

Hi! I'm trying to create a small search for my site. I've tried using full-text index search, but I could never get it to work. Here is what I've come up with: if(isset($_GET['search'])) { $search = str_replace('-', ' ', $_GET['search']); $result = array(); $titles = mysql_query("SELECT title FROM Entries WHERE title LIKE '%$search%'"...

Free (as in beer) Reverse Image Search API/Library/Service

TinEye provides a great way to "reverse" search by image (i.e. upload/transload an image and have multiple possible sources of that image returned as results.) Since screen-scraping is messy and unreliable, I'm looking for a free API/library/web-service that could offer the same (or similar) reverse-image search function. At present,...

Search book by title, and author

I got a table with columns: author firstname, author lastname, and booktitle Multiple users are inserting in the database, through an import, and I'd like to avoid duplicates. So I'm trying to do something like this: I have a record in the db: First Name: "Isaac" Last Name: "Assimov" Title: "I, Robot" If the user tries to add it again, ...

Solr - Proximity Search using phrases

Hi all, I use Solr's proximity search quite often to search for words within a specifeid range of each other, like so "Government Spending" ~2 I was wondering is there a way to perform a proximity search using a phrase and a word or two phrases. Is this possible? If so what is the syntax? Thanks in Advance Ruth ...

Drupal - Hide a single page from search index

Hi, I've taken over an existing Drupal installation and have been asked to remove a single page from the site search results. I know about the lullabot tutorial through this question: http://stackoverflow.com/questions/1748837/hide-drupal-nodes-from-search, but that talks about excluding a class of content when I really just want to excl...

Mysql - Help me alter this search query involving multiple joins and conditions to get the desired results

About the system: We are following tags based search. Tutors create packs - tag relations for tutors stored in tutors_tag_relations and those for packs stored in learning_packs_tag_relations. All tags are stored in tags table. The system has 6 tables - tutors, Users (linked to tutor_details), learning_packs, learning_packs_tag_relatio...

oracle blob text search

Is it possible to search through blob text using sql statement? I can do select * from $table where f1 like '%foo%' if the f1 is varchar, how about f1 is a blob? Any counter part for this? ...

Lucene based database search engine

Hi All, I am planing to add search feature in my web application. I am using Struts 2 framwork for the application and the items that will be searched are strored in a Relational database. In order to achieve a full text search engine I have following doubts : For database based search engine should I use just lucene or some oth...

Is it possible to animate a android widget I create in the same way the universal search widget animates.

When you click the Google universal search box on the home screen it animates upwards on the screen until it has reached the top and from there the search area and keyboard is opened. The animated widget is animated "on" the home screen because it slides under other widgets. It is easy to see this behavior if one puts the search box a...

How to make google search show my website like this

When searching for some websites on google, it shows the first result like this: eBay - New & used electronics, cars, apparel, collectibles Motors Computers & Networking Electronics Home & Garden Clothing, Shoes & Accessories Cell Phones & PDAs Sporting Goods I guess it ha...

Creating an AJAX Searchable Database.

Currently I am using MySQLi to parse a CSV file into a Database, that step has been accomplished. However, My next step would be to make this Database searchable and automatically updated via jQuery.ajax(). Some people suggest that I print out the Database in another page and access it externally. I'm quite new to jquery + ajax so if ...

Searching with Linq

I have a collection of objects, each with an int Frame property. Given an int, I want to find the object in the collection that has the closest Frame. Here is what I'm doing so far: public static void Search(int frameNumber) { var differences = (from rec in _records select new { FrameDiff = Math.Abs(rec.Frame...

Is ThreadPool appropriate for this threading scenario?

I have a scenario that I'm trying to turn into a more responsive UI by pre-fetching some sub-elements of the results before they're actually required by the user if possible. I'm unclear on how best to approach the threading, so I'm hoping someone can provide some advice. Scenario There is search form (.NET rich client) that enable the...

Lucene search taking TOOO long.

I;m using Lucene.net (2.9.2.2) on a (currently) 70Gig index.. I can do a fairly complicated search and get all the document IDs back in 1 ~ 2 seconds.. But to actually load up all the hits (about 700 thousand in my test queries) takes 5+ minutes. We aren't using lucene for UI, this is a datastore between processes where we have hundreds...

string count with overlapping occurances

What's the best way to count the number of occurrences of a given string, including overlap in python? is it the most obvious way: def function(string, str_to_search_for): count = 0 for x in xrange(len(string) - len(str_to_search_for) + 1): if string[x:x+len(str_to_search_for)] == str_to_search_for: ...