Apache Lucene

Apache Lucene is a high-performance, fullfeatured text search engine library written entirely in Java

Apache Lucene is a free/open source information retrieval software library, originally created in Java by Doug Cutting. It is supported by the Apache Software Foundation and is released under the Apache Software License.

Lucene has been ported to other programming languages including  PHP.

In Lucene, everything is a Document. A Lucene Document need notrefer to an actual file on a disk, it could also resemble a row in a

relational database.

Each developer is responsible for turning their own data sets intoLucene Documents. Lucene comes with a number of 3rd party

contributions, including examples for parsing structured data files suchas XML documents and Word files.




Installing GIMP in Ubuntu

From Ubuntu Terminal
1.Open terminal(Press CTRL+ALT+T or Applications->Accessories->Terminal)

2 Type the command sudo apt-get install gimp3.Wait for downloading and installation to complete.It may take few minutes.

From Ubuntu Software Center or Synaptic Package Manager(SPM)
1.Go to Ubuntu software Center or SPM and search for gimp.

2.Then click to install.


what is cURL in php

cURL is a library that allows PHP applications to communicate with other servers. 

Example :

$url = “www.example.com”; // Desired URL
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_POST, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
$returned = curl_exec($ch);
curl_close ($ch);
echo $returned;


command to list files in dos

dir – Lists all files and directories in the directory that you are currently in.
dir /p – It will display all files one page at a time.
dir /w- You can use this command to list just the files and directories going horizontally
dir /s /w /p – Llist all the files and directories in the current directory and the sub directories after that, in one
dir /s –   Lists the files in the directory that you are in and all sub directories after that directory
dir *.exe – The above command lists any file that ends with .exe.
dir >file.txt -Takes the output of dir and store  it to the file file.txt
dir /s |find “i” |more – List all directories, one screen page at a time, and see the number of files in each directory and the amount of space each occupies.
dir /ad  – List only the directories in the current directory.
page at a time.
dir /on-List the files in alphabetical order
dir /o-n- List the files in reverse alphabetical order.

Beginners' Guide , PHP Programmer , Zend Certified Engineer , Magento Certified Developer