java.lang.OutOfMemoryError when indexing large databases in Solr

Posted on 16/05/09 by webadmin 1 Comment

When indexing large databases in Solr, if you encouter java.lang.OutOfMemoryError, this could be caused due to a bug in the mysql jdbc driver.  To resolve this, add include batchSize=”-1″ parameter in your dataSource entry of you data-import.xml file.  The entry should look something like : <dataSource type=”JdbcDataSource” name=”ds-2″ driver=”com.mysql.jdbc.Driver” url=”jdbc:mysql://localhost:8889/mysqldatabase” batchSize=”-1″ user=”root” password=”root”/> Reference: http://wiki.apache.org/solr/DataImportHandlerFaq#head-346bc6622c328a146d1691bc4ed6deb51086d9b3

Read more

Using Solr / Lucene for full text search with MySQL DB

Posted on 14/05/09 by webadmin 19 Comments

Solr is a standalone webservice application that can be installed on any servlet container like tomcat, jetty etc.  It uses the popular Lucene java library to provide enterprise level search results from databases, filesystem, web services etc.    Solr runs as a web service, so in effect it provides a cross platform search engine.  The results [...]

Read more

’Cabot Trail’ in Munnar!

Posted on 11/05/09 by webadmin No Comments

I am not sure if the road to Munnar can be compared to the famous North American Shore drive, Cabot Trail, but this past weekend, there was surely some Cabot in the air at Munnar where our team headed out for a fun team building trip. The trip has been long in the planning and [...]

Read more

Follow us on Twitter..

Posted on 01/05/09 by webadmin No Comments

Yes, we are on twitter now as cabotsolutions. Out twitter url is http://www.twitter.com/cabotsolutions/

Read more

PHP development with SVN using Eclipse PDT and Subclipse in Ubuntu 8.10

Posted on 01/05/09 by webadmin No Comments

Eclipse’s PDT project provides an excellent development tool for LAMP developers.  It provides  great features like code completion, zend debugger,  error checking and all the goodness that comes with default eclipse package.   One of the nice things that PDT lacks out of the box is SVN support.  This can be easily achieved using subclipse plugin [...]

Read more

Getting Openfire Groups to work with Zimbra OpenLDAP Authentication

Posted on 10/04/09 by webadmin 2 Comments

Its quite easy to get openfire and spark messenger to authenticate with Zimbra’s OpenLDAP by selecting OpenLDAP directory server during initial openfire setup.  One of the biggest drawbacks is that the groups feature will not be available.  Group feature is important for enterprises with large number of users and wnat to provide preset groups in [...]

Read more

5 best practices we use in our Joomla builds.

Posted on 08/03/09 by webadmin No Comments

We have started to standardise certain practices on all our Joomla builds.  These are aimed to increase security, usability and seo of the site. 1. Enable SEF. This is to provide search engine friendly URLS that is human readable and also better for Search engine optimisation rather than Joomla’s default cryptic URLs.    Joomla 1.5 provides [...]

Read more

25 Most Dangerous Programming Errors.

Posted on 13/01/09 by webadmin No Comments

The US National Security Agency (SANS – www.sans.org) had recently put out a list of top 25 most dangerous programming errors that could expose your applications to cyber criminals. Most of them can be prevented by following best practices in coding and design.    Every development team should cross check their coding practices to ensure most [...]

Read more

Authenticating your web applications with LDAP and .htaccess

Posted on 03/01/09 by webadmin No Comments

Here is a trick to have your web applications that run on apache servers to authenticate using a LDAP server.   Note, your apache server should support .htaccess.  This is useful when you want to restrict certain applications to authorised users in a network. Create a .htaccess file in the root of your application with the [...]

Read more

Kochi (Cochin) highest rated for Outsourcing cities in India

Posted on 22/12/08 by webadmin No Comments

The numbers in oConomy which provides an insight in global outsourcing trends in India shows that Cochin based companies has received highest average feedback ratings in Odesk.   Check out the google map here.  Even though Cochin is listed only 13th in the number of companies (only 359) the high review ratings makes me think the [...]

Read more

Page 6 of 7« First...«34567»