search

Search a file and save the lines the search term is in to a new file

Hi, I have two files. One is a csv and contains the search strings (one per line) and the other is a huge file which contains the search term at the start of each line but has extra information after which I would like to extract. The search terms file is called 'search.csv' and looks like this: 3ksr 3ky8 2g5w 2gou The file cont...

How to filter custom content type nodes using ajax in Drupal?

Hello. I'm in a situation where I think I need to create my own custom search module. What I'm trying to do is make a page with a list of all my nodes in the node type - let's call it 'Beer'. So I want to be able to filter through the beers in a fashion similar to the one you find on the Apple Trailers page ( http://trailers.apple.com/ )...

Jquery, using "inarray" on a nested array to find a specific value's index?

I'm struggling with this, I am still new to javascript and am trying the jquery $.inarray function as I need to be able to find a value in an array so that I can return other values from the same array "line", such as its ID. When I try to use jquery's inarray function, like this, I just get back -1, saying that it doesn't exist when I...

MySQL - Need to search URL table for URLs containing a specified word

I have a table of URLs, and I need to find any URLs that contain a keyword, such as "fogbugz" or "amazon". If the keyword appears anywhere in the URL, I'd like it to be a result. Right now, I'm trying: SELECT url FROM url WHERE url LIKE '%keyword%' Which is predictably slow, even when url is indexed. I'm open to alternative metho...

Can I customize the Android searchable.xml layout?

I was the Android Developer article on Search: http://developer.android.com/guide/topics/search/index.html and was wondering if I could add other UI Elements to the searchable.xml file? Here is what I want to do: <?xml version="1.0" encoding="utf-8"?> <searchable xmlns:android="http://schemas.android.com/apk/res/android" android:lab...

How To Get Indexed Again After Removal of Robot.txt

While building a Webiste, i created a robot.txt on the server, to prevent the yet unfinished application from getting into Google's Index... Now that i am done with the site, i removed the robot.txt and i expected that my site would show up on Google, since the robot.txt is gone! But this is not happening! I have removed the robot.txt ...

Creating a Full Text Index search.

I've created a blog and I wish to search through certain tables in my MySQL databases and then return results for the user on a separate search page. I do not wish to use Google CSE. How would I go about creating this for my site. I found a post on StackOverflow.com from a friend of mine in which he wished to make his more efficient. How...

Custom Search Box to Search through MySQL Database

Possible Duplicate: Creating a Full Text Index search. I've created a blog and I wish to search through certain tables in my MySQL databases and then return results for the user on a separate search page. I do not wish to use Google CSE. How would I go about creating this for my site. I found a post on StackOverflow.com from a...

Customized Search in Android RuntimeException can't set breakpoints

I am trying to implement my own Search using searchable, and as soon as press return after entering a query into my custom search field, I get a RuntimeException: Thread [<1> main] (Suspended (exception RuntimeException)) ActivityThread.performLaunchActivity(ActivityThread$ActivityRecord, Intent) line: 2585 ActivityThread.handleLaun...

Any reference material for fetching search results from retail sites?

If the question hasn't already done so, allow me to flag myself as a relative newcomer to backend programming. I'm really just wondering if anyone could point me to some literature on how to (for example) scrape the results of a search for "Die Hard" from amazon.com, and list them on your own page. Thanks in advance. ...

Non-indexed file (?) still found in Google

How is it possible that my page /admin/login.asp is found in Google with the query "inurl:admin/login.asp" while it isn't with the "site:www.domain.xx" query? I've this line of code in my robots.txt: User-agent: * Disallow: /admin/ And this in the HTML code of the page: <meta name="robots" content="noindex, nofollow" /> Any ideas?...

How do I send parameters to advanced search in Magento?

Hi, I have the following search form in Magento: <form action="catalogsearch/advanced/result/" method="get" id="form-validate"> <input name="name" type="text" id="textfield" value="" /> <select name="platform" id="select"> <option value='6'>XBox</option> <option value='5'>XBox 360</option> </select> <input type="submi...

google map search feature

Hi, I am using google map API V3. I have information of different location i.e. address, postal code in an XML file. I have marked all location, mentioned in XML file, on gmap and now what i want is to implement a search feature. The search feature will search 5 nearby location on the map. any idea how to implement this? 5 nearby locati...

Fast search within XML files in a shared folder

I need to design a windows application that will reside within an organization's intranet. The application will be deployed on a user's machine and the user will be generating output within an XML file that has a predefined schema. This XML will be written out to a networked folder that will be accessible by other users. These files are ...

Line matches not showing during File Search in Eclipse 3.5 / Zend 7.2

Somehow my Eclipse (Zend 7.2) doesn't show the line matches in the treeview when doing a File Search. It shows the files that match, but I can't unfold it to see what lines the matches are on. On my other computer at work (same software) it does work like it should. Is there any way to reinstall the Search-module or does anybody know w...

Wordpress: custom post types: using custom fields or taxonomies?

I'm thinking about using WP custom post types to create a basic real estate website. The post type will be for property listings. I've decided to have one post type for For Sale and one for Rentals, simple because they have somewhat different property information. A typical listing will need to specify some information, ie, is it a hou...

Search using two keys in an arrayList

Hi all, I would like to implement a fast search on an ArrayList of objects. These objects consist of an int oldId, int newId and int inList, among with other things. Now, I tried implementing a binary search using the Collections.binarySearch on my list, but the problem is I need to search using the oldId and inList, to get the newId f...

parallel search in CUDA

Are there any CUDA methods/approaches/libraries for search operation, say a integer in an array of million entries ? More of a parallel search approach.. ...

Is it possible with Views module to create a search and results page?

I know Drupal has built in search module, but I want more flexibility and control. Is it possible using Views to create the search form and results pages? ...

Handling the browser 'Back' button in jsp.

Hi all, I have a jsp search page (Search.jsp) and a result page (Result.jsp), both of them can choose search criteria. and then passed the parameters to a java controller file (Controller.java) to build a query string and performs query searching. The query string and searched results will be passed to Result.jsp for displaying. Curren...