How to setup Lucene Solr project in Eclipse?

1. Download Eclipse IDE. 2. Install SVN plugin for Eclipse IDE. I used Subversive plugin. 3. Create a new project in Eclipse and check out code from http://svn.apache.org/repos/asf/lucene/dev/trunk. (select others and svn) 4. In Lucene Solr, project dependencies are managed using Ivy. So run the ant ivy-bootstrap task in the outer most build.xml 5. Now […]
Continue reading…

 

UML – Class Diagram – Dependency/Uses

We have already discussed about ‘is-a’ and ‘has-a’ relationship. If you haven’t got a chance to look at those posts please refer the below give posts. UML — Class Diagram — Generalization & Realization. UML — Class Diagram — Association. Dependency is the third and more weaker form of relationship between two classes. If one […]
Continue reading…

 

MongoDB – How to change the default port of mongodb?

By default mongodb instance run on port 27017.

There are two options to change the default port of mongodb. pass the –port argument when we start mongod. change the port in the mongodb.config file and pass the config file as input.

To connect to mongod running on port 19000 we need to start […]
Continue reading…

 

How to install MongoDB in Linux Mint?

There are four steps involved in instaling and testing MongoDB in Linux Mint. Download the MongoDB Server. Configure Data Folder. Start MongoDB. Start Mongo Shell Client. Download MongoDB Server. Make sure that the MongoDB is not installed in your machine before you download MongoDB. Open a shell and type mongod.

Shell will notify you […]
Continue reading…