search

What makes a "friendly URL"?

First of all, please excuse my ignorance on this...I'm totally willing to accept that my opinion on this is wrong. In fact, I suspect that it is given the sheer number of web developers that seem to disagree. :) I've read a great deal of discussion recently (both on this site and elsewhere) about "friendly URLs" but I'm not sure what ...

how to search for specific file type with yahoo search API?

Does anyone know if there is some parameter available for programmatic search on yahoo allowing to restrict results so only links to files of specific type will be returned (like PDF for example)? It's possible to do that in GUI, but how to make it happen through API? I'd very much appreciate a sample code in Python, but any other solut...

Recommend a linux-based Site Search Engine?

I need a site search engine to provide search for my members-only content. I've previously used Fluid Dynamics Search Engine but was wondering if there was anything that's been more recently updated. Needs to index content via site crawling as opposed to filesystem crawling as all content is in a database. Also needs to run under FreeBS...

What is the state of the art in computer chess tree searching?

I'm not interested in tiny optimizations giving few percents of the speed. I'm interested in the most important heuristics for alpha-beta search. And most important components for evaluation function. I'm particularly interested in algorithms that have greatest (improvement/code_size) ratio. (NOT (improvement/complexity)). Thanks. PS ...

Sharepoint refine results control only uses the current pages values.

I have a SharePoint refine search results control on my people search results page. Paging is on for the search results. The control only refines the current pages results. How do I change this behaviour so that despite the core results being paged, the refine results works on all results? ...

How do I search for multiple file types on Google Search Appliance

I want to search for multiple file types at once. For example, when I want to search for ".htm" files, I add "filetype:htm" to the query and that works fine. Similarly, "filetype:html" also works. However, how can I specify a query parameter that returns all htm AND html files? ...

Fast text editor find

Does anyone know how text editors/programmers editors are able to do such fast searches on very large text files. Are they indexing on load, at the start of the find or some other clever technique? I desperately need a faster implementation of what I have which is a desperately slow walk from top to bottom of the text. Any ideas are r...

Python file indexing and searching

I have a large set off files (hdf) that I need to enable search for. For Java I would use Lucene for this, as it's a file and document indexing engine. I don't know what the python equivalent would be though. Can anyone recommend which library I should use for indexing a large collection of files for fast search? Or is the prefered way ...

Google Search of PDF Documents

We are having troubles getting Google to index the PDF files in our site. There are about 50 PDF and range in size for 20 KB to a little under two megs. They are not protected, can be read annonymously, and inside of PDF Reader, you can search the document. They are listed in the SiteMap.xml. I can even look at the IIS logs and see ...

searchbox : autosuggestion with XML

Hi.. I want to make a searchbox which has auto suggestion and searches specific tag in a XML file. How can i realze this ? ...

Refactoring my DataTable search code

I am using C# 2.0, and I can't help but think this isn't the most efficient way to search a collection (in this case a DataTable) for a value: bool found = false; foreach (DataRow row in data.Rows) { if (id == row["rowID"]) { found = true; break; } } if (!found) { //Do stuff here } Can anyone think of a...

What's the best web image search API?

What's the best image search API for general image search (eg. find pictures of potatoes, paris hilton, or scarface), available for remote invocation from a server (ie. not in-browser javascript)? The Yahoo API is nicely setup and well documented, is easy to use, and includes image thumbnails. This looks like the best candidate so far...

Live xpath search in your browser

Is there a tool or browser plugin (not sure if Firebug can do this) that will let you open a web page and then using the tool/plugin to search using an xpath query and it will highlight the things on the screen that match your query? ...

Microsoft Search Server

How do you retrieve the most popular search terms programmatically from Microsoft Search Server. I have searched and not been able to come up with an answer. ...

Search file content on iphone

Is there an Iphone SDK API to search resource files? I have a set of html file resources that I'd like the user to be able to search in, but I want to avoid reading the files into memory and searching them one by one. Is there any API that can help me do this? ...

How to search for a string in the whole database?

I have an informix database consisting of a large number of tables. I know that there is a string "example" somewhere inside some table, but don't know which table it is or which column it is. (I know this is a very rare case) Because of the large number of tables, there is no way to look for it manually. How do i find this value insid...

Efficiently iterate through all MATCHING keys in a hashmap?

I have a HashMap with millions of entries. Need to retrieve all entries whose keys match a specific set of criteria (in this case, each key is an object with two integer properties; I need to retrieve all keys where each of these integers fall within a specified range). What is the fastest, most efficient way to iterate through all suc...

Optimize MySQL search process

Here is the scenario 1. I have a table called "items", inside the table has 2 columns, e. g. item_id and item_name. I store my data in this way: item_id | item_name Ss001 | Shirt1 Sb002 | Shirt2 Tb001 | TShirt1 Tm002 | TShirt2 ... etc, i store in this way: first letter is the code for clothes, i.e S for shirt, T for tshi...

Document Library Crawl

I set up a new scope and passed in the URL for a specific document libary that I created that hold 2 word documents. For some reason when I start a full crawl, it does not see the 2 word documents. The word documents have meta data and I've created Managed Properties that map the crawled properties. I am trying to utilize the Advanced...

Is there any algorithm for search an element in sorted array with complexity less than log2(n)

i have coded an algorithm for search in sorted array with complexity log2(n)/5 .Is it useful? ...