search

Google Mini only serving linking pages

I have a peculiar error in our Google Mini box. The setup is as simple as it can be. Google Mini is set to crawl a specific site and only that site. We have only the default front-end and default-collection No page exceptions or exclussions No https or logins All Url's and ip adresses are correct. Google Mini is crawling fine and ind...

Searching for text in system messages in Outlook returned from Exchange

I am trying to search returned error messages I get from Exchange. Somehow, Outlook does not return any results. When I preview the messages I only see Your message did not reach some of all of the intended recipients. Open the message to see additional details. Only when I open the message I see the error text in full Here's a line ...

How can I search for and delete an array element in PHP?

I have a PHP array that looks like this: Array ( [0] => Array ( [start] => DateTime Object ( ) [end] => DateTime Object ( ) [comment] => A comment. ) [1] => Array ( [start] => DateTime Object ( ) [end] => DateTime Object ( ) [comment] => Another comment. ) ) I would like to create a function that...

Search For String Permutations In String Set

The title of this is kind of awkward; I wasn't really sure how to sum this up. I know how I can do this, I'm just not sure how to do it efficiently. Here's my problem: I have a string as input. Let's say: foo bar And I have a very large set of strings (tens of thousands). Let's say: foo, baz, bar, blah, foo bar, foo baz I...

Search through a big list fast with jQuery

I'm using this code to search trough about 500 li tags. $(function() { $.expr[":"].containsInCaseSensitive = function(el, i, m){ var search = m[3]; if (!search) return false; return eval("/" + search + "/i").test($(el).text()); }; $('#query').focus().keyup(function(e){ if(this.value.length > 0){ $('ul#abbreviations li'...

How to optimally solve the flood fill puzzle?

I like playing the puzzle game Flood-It, which can be played online at: http://floodit.appspot.com/ It's also available as an iGoogle gadget. The aim is to fill the whole board with the least number of successive flood-fills. I'm trying to write a program which can solve this puzzle optimally. What's the best way to approach this pr...

C# Performance setting value for each list item.

Hello, I am trying to find the fasted way to set a specific property of every item in a generic list. Basicly the requirement is to iterate over a list of items and resetting the IsHit property to FALSE. Only the items in a second "hit"-list should be set to TRUE afterwards. My first attempt looked like this: listItems.ForEach(delega...

How do SharePoint search statistics get generated?

Hi, We have a heavily customised SharePoint publishing (WCM) site that uses no web parts in order to meet with XHTML and (AA) accessibilty guidelines. The trouble is that the search functionality is not generating any usage statistics (Usage reports within Search Administration in the SSP). We know this is down to our customisations bec...

SQL for making suggestions when no results found.

Hi. Would really appreciate some help with a search angine I'm trying to make for a karaoke music site using ASP.NET and SQL SERVER... I have a table called Discs which has the following fields: ID, DiscCode, DiscTitle, DiscType, Theme, Manufacturer There is also a table called Tracks with the following fields ID, DiscID, A...

What is the best way to store and search through class objects (in PHP)?

I've around 80 instances of this class called Items and would like to efficiently search the objects by their ID or NAME. <?php class Item { public $id; public $name; //methods } ?> I'm using PHP5. ...

Check XML node exists by Value using JQuery

Hi, I'm trying to check if a value in an xml node exists using Jquery. The xml string is: <SectionAnswers> <SectionAnswer> <detailID>2216</detailID> <SourceAnswerID>979</SourceAnswerID> </SectionAnswer> <SectionAnswer> <detailID>2218</detailID> <SourceAnswerID>981</SourceAnswerID> </SectionAnswer> <Sec...

Finding closest match in collection of strings representing numbers

I have a sorted list of datetimes in text format. The format of each entry is '2009-09-10T12:00:00'. I want to find the entry closest to a target. There are many more entries than the number of searches I would have to do. I could change each entry to a number, then search numerically (for example these approaches), but that would se...

do search engines crawl the source or destination page when using 301,302 redirect?

What search do when they found different status code? 302 301 404 etc... I knew they would ignore the pages with 404 status code but what about the other statuses do search engines crawl the source or destination page? ...

.Net based open source search engine?

Hello eveyone, I am looking for an easy to use, maintain and extensible search engine (intranet, enterprise search engine) based on .Net technologies, better open source which is more capable of extension. Just similar to Apache Lucene and Apache Solr. I want to search html page only. I tried Microsoft Search Server and find it is not ...

mysql ft_stopword_file question

Hi, This is really embarrassing but I can't get the stopword file to function as I want in mysql. My mysql base dir in my my.cnf is /usr and my server's root directory is below that. My my.cnf file is located at /etc/mysql/my.cnf I name the stopword file stop.txt and have placed it in the /usr folder, the /etc/mysql/ folder, and...

Sharepoint search fails when using DataKeynames

We have a Sharepoint site which uses search. We get the following error: Unable to validate data. at System.Web.Configuration.MachineKeySection.EncryptOrDecryptData (Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, IVType ivType, Boolean useValidationSymAlgo) at System.Web.UI.ObjectStateFormatter.Deser...

What are practical applications of the AO* algorithm?

Those who have worked or working in artificial intelligence(or equivalent) area should be knowing the AO* algorithm very well. Its pretty clear that it is a generalized algorithm. Do anybody of you have come across any practical application of the AO* algorithm?Some of you might already have worked on it. So it would be great if you c...

Easiest way to locate a static variable in code?

I have a bug on my plate to locate and rewrite a static variable in one of our libraries that is taking up launch time in our application. I am not familiar with the library code base and am asking for good heuristics/techniques/grep commands/etc. that would ease my task in identifying the location of said static variable? (P.S. I'm alr...

Lookup names in large texts

Hi, What is the best way to parse large texts (5000 words and more), searching names, that are stored in a database? The texts will be multi lingual. My first idea is a rather naive approach, taking all words beginning with a big letter and compare them against the database. But this tends to fail in texts containing lowercase letters ...

Pagerank and its mathematics: Explanation needed

I am a student interested in developing a search engine that indexes pages from my country. I have been researching algorithms to use for sometime now and I have identified HITS and PageRank as the best out there. I have decided to go with PageRank since it is more stable than the HITS algorithm (or so I have read). I have found countle...